aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-05 01:43:39 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-05 01:43:39 +0000
commit8e8c25eb609cb3028f4508dc3c23bbc23ea7e551 (patch)
tree037d15d295d4fe76ee0937973079f24f798ce091 /util-linux
parente1af375e3b74425a39e5ec826229436600ba024e (diff)
downloadbusybox-w32-8e8c25eb609cb3028f4508dc3c23bbc23ea7e551.tar.gz
busybox-w32-8e8c25eb609cb3028f4508dc3c23bbc23ea7e551.tar.bz2
busybox-w32-8e8c25eb609cb3028f4508dc3c23bbc23ea7e551.zip
Kumar spotted another bug: if we autodetect nfs and they haven't specified the
fstype, it should be set to nfs. git-svn-id: svn://busybox.net/trunk/busybox@14749 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index ba55d2480..68f483555 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -284,6 +284,7 @@ static int singlemount(struct mntent *mp)
284 return 1; 284 return 1;
285 } else { 285 } else {
286 // Strangely enough, nfsmount() doesn't actually mount() anything. 286 // Strangely enough, nfsmount() doesn't actually mount() anything.
287 mp->mnt_type = "nfs";
287 rc = mount_it_now(mp, vfsflags, filteropts); 288 rc = mount_it_now(mp, vfsflags, filteropts);
288 if (ENABLE_FEATURE_CLEAN_UP) free(filteropts); 289 if (ENABLE_FEATURE_CLEAN_UP) free(filteropts);
289 290