aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/mount_ufs.c
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2005-11-12 20:12:56 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2005-11-12 20:12:56 +0000
commit6f5f1a6b3e7761701a331b130c0a8e9d161de831 (patch)
treee01d55969e797bf2f533f333658c95fc41c6062a /sbin/mount/mount_ufs.c
parente96c4fd9f7acfed01430ff68d3e299fb64d2f1ac (diff)
downloadsrc-6f5f1a6b3e7761701a331b130c0a8e9d161de831.tar.gz
src-6f5f1a6b3e7761701a331b130c0a8e9d161de831.zip
- Minor fixes to raise WARNS level to 6.
- Teach the mount program to call the nmount() syscall directly - Preserve existing method of calling mount() for UFS, until we clean things up. - Preserve existing method of forking and calling external mount programs for mfs, msdosfs, nfs, nfs4, ntfs, nwfs, nullfs, portalfs, reiserfs, smbfs, udf, umapfs, unionfs - devfs, linprocfs, procfs, ext2fs call nmount() syscall directly, since that is all those external mount programs were doing Reviewed by: phk Discussed on: arch
Notes
Notes: svn path=/head/; revision=152344
Diffstat (limited to 'sbin/mount/mount_ufs.c')
-rw-r--r--sbin/mount/mount_ufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index 3c99576de2e7..45e9bfc21ef9 100644
--- a/sbin/mount/mount_ufs.c
+++ b/sbin/mount/mount_ufs.c
@@ -68,7 +68,7 @@ static struct mntopt mopts[] = {
};
int
-mount_ufs(int argc, char * const argv[])
+mount_ufs(int argc, char *argv[])
{
struct ufs_args args;
int ch, mntflags;