From 6f5f1a6b3e7761701a331b130c0a8e9d161de831 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sat, 12 Nov 2005 20:12:56 +0000 Subject: - 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 --- sbin/mount/mount_ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/mount/mount_ufs.c') 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; -- cgit v1.2.3