Kumar spotted another bug: if we autodetect nfs and they haven't specified the

fstype, it should be set to nfs.
This commit is contained in:
Rob Landley 2006-04-05 01:43:39 +00:00
parent e104d5fdcb
commit 19af279d16

View File

@ -284,6 +284,7 @@ static int singlemount(struct mntent *mp)
return 1; return 1;
} else { } else {
// Strangely enough, nfsmount() doesn't actually mount() anything. // Strangely enough, nfsmount() doesn't actually mount() anything.
mp->mnt_type = "nfs";
rc = mount_it_now(mp, vfsflags, filteropts); rc = mount_it_now(mp, vfsflags, filteropts);
if (ENABLE_FEATURE_CLEAN_UP) free(filteropts); if (ENABLE_FEATURE_CLEAN_UP) free(filteropts);