Parent Directory | Revision Log | Patch
revision 986 by astrand, Wed Aug 24 11:31:58 2005 UTC | revision 1010 by astrand, Wed Aug 31 13:00:57 2005 UTC | |
---|---|---|
# | Line 997 FsVolumeInfo(char *fpath) | Line 997 FsVolumeInfo(char *fpath) |
997 | ||
998 | while ((e = getmntent(fdfs))) | while ((e = getmntent(fdfs))) |
999 | { | { |
1000 | if (strncmp(fpath, e->mnt_dir, strlen(fpath)) == 0) | if (str_startswith(e->mnt_dir, fpath)) |
1001 | { | { |
1002 | strcpy(info.type, e->mnt_type); | strcpy(info.type, e->mnt_type); |
1003 | strcpy(info.name, e->mnt_fsname); | strcpy(info.name, e->mnt_fsname); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |