diff options
Diffstat (limited to 'mount/umount.c')
-rw-r--r-- | mount/umount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mount/umount.c b/mount/umount.c index 81f8bdf13..00745aed9 100644 --- a/mount/umount.c +++ b/mount/umount.c @@ -514,8 +514,8 @@ umount_file (char *arg) { /dev/sda4 /mnt/zip auto user,noauto 0 0 then "mount /dev/sda4" followed by "umount /mnt/zip" used to fail. So, we must not look for file, but for - the pair (spec,file) in fstab. */ - fs = getfs_by_specdir(mc->m.mnt_fsname, mc->m.mnt_dir); + the pair (dev,file) in fstab. */ + fs = getfs_by_devdir(mc->m.mnt_fsname, mc->m.mnt_dir); if (!fs) { if (!getfs_by_spec (file) && !getfs_by_dir (file)) die (2, |