summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-18 02:23:43 +0000
committerbde <bde@FreeBSD.org>2002-03-18 02:23:43 +0000
commitac8c786c3b42bd76ea86cfe4b12dbb6544b4bb12 (patch)
treefc88c7ddbc698a3ff9a3fcfee029f65ff5bf041d /sbin
parented673bb689afdf58f832ec1485843b0bdf894d11 (diff)
downloadFreeBSD-src-ac8c786c3b42bd76ea86cfe4b12dbb6544b4bb12.zip
FreeBSD-src-ac8c786c3b42bd76ea86cfe4b12dbb6544b4bb12.tar.gz
Removed vestiges of mount_mfs. Sorted the Makefile a bit.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/newfs/Makefile10
-rw-r--r--sbin/newfs/newfs.c8
2 files changed, 3 insertions, 15 deletions
diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile
index 4e94621..38c547b 100644
--- a/sbin/newfs/Makefile
+++ b/sbin/newfs/Makefile
@@ -2,13 +2,9 @@
# $FreeBSD$
PROG= newfs
-SRCS= getmntopts.c newfs.c mkfs.c
-MAN= newfs.8
-
-MOUNT= ${.CURDIR}/../mount
-CFLAGS+=-DFSIRAND -I${MOUNT}
+SRCS= newfs.c mkfs.c
+CFLAGS+=-DFSIRAND
WARNS?= 2
-
-.PATH: ${MOUNT}
+MAN= newfs.8
.include <bsd.prog.mk>
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index ff75555..a1a0c77 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -75,14 +75,6 @@ static const char rcsid[] =
#include <varargs.h>
#endif
-#include "mntopts.h"
-
-struct mntopt mopts[] = {
- MOPT_STDOPTS,
- MOPT_ASYNC,
- { NULL },
-};
-
#if __STDC__
void fatal(const char *fmt, ...) __printflike(1, 2);
#else
OpenPOWER on IntegriCloud