just include fcntl.h not sys/fcntl.h
[oweals/busybox.git] / util-linux / mount.c
index ba55d2480159a8b2c17f937950b5eb30c2d0b789..68f48355539e41ecee669e75938e3fb4bf3b67a8 100644 (file)
@@ -284,6 +284,7 @@ static int singlemount(struct mntent *mp)
                        return 1;
                } else {
                        // Strangely enough, nfsmount() doesn't actually mount() anything.
+                       mp->mnt_type = "nfs";
                        rc = mount_it_now(mp, vfsflags, filteropts);
                        if (ENABLE_FEATURE_CLEAN_UP) free(filteropts);