diff options
author | Rob Landley <rob@landley.net> | 2006-04-05 01:43:39 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-04-05 01:43:39 +0000 |
commit | 19af279d169d78f1c6dbe7dd22b051c2eabec0c5 (patch) | |
tree | 037d15d295d4fe76ee0937973079f24f798ce091 /util-linux/mount.c | |
parent | e104d5fdcb72c0fd5df56e3bbbf18c1942bf936a (diff) | |
download | busybox-w32-19af279d169d78f1c6dbe7dd22b051c2eabec0c5.tar.gz busybox-w32-19af279d169d78f1c6dbe7dd22b051c2eabec0c5.tar.bz2 busybox-w32-19af279d169d78f1c6dbe7dd22b051c2eabec0c5.zip |
Kumar spotted another bug: if we autodetect nfs and they haven't specified the
fstype, it should be set to nfs.
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 1 |
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 | ||