summaryrefslogtreecommitdiff
path: root/convertquota.c
diff options
context:
space:
mode:
Diffstat (limited to 'convertquota.c')
-rw-r--r--convertquota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/convertquota.c b/convertquota.c
index 73696d8..5422081 100644
--- a/convertquota.c
+++ b/convertquota.c
@@ -98,7 +98,7 @@ void convert_file(int type)
while ((mnt = getmntent(mntf))) {
if (!(dev = get_device_name(mnt->mnt_fsname)))
continue;
- if (!strcmp(dev, mntpoint) || !strcmp(mnt->mnt_dir, mntpoint))
+ if (devcmp(dev, mntpoint) || dircmp(mnt->mnt_dir, mntpoint))
break;
}
if (!mnt)