summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-12-04 02:19:58 +0000
committerobrien <obrien@FreeBSD.org>2001-12-04 02:19:58 +0000
commit9baf2f1b038483b2b3a06aa8edb82b2d5fe9707a (patch)
treee310d81d0274f70e39b1ca6e572c855c93bfb84d /sbin/fsck_ffs
parent099f8ecbe9e998c7d18349a9429e95b060ef3082 (diff)
downloadFreeBSD-src-9baf2f1b038483b2b3a06aa8edb82b2d5fe9707a.zip
FreeBSD-src-9baf2f1b038483b2b3a06aa8edb82b2d5fe9707a.tar.gz
Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/Makefile3
-rw-r--r--sbin/fsck_ffs/fsck_ffs.84
2 files changed, 6 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/Makefile b/sbin/fsck_ffs/Makefile
index de431f0..94417f9 100644
--- a/sbin/fsck_ffs/Makefile
+++ b/sbin/fsck_ffs/Makefile
@@ -7,7 +7,8 @@ LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd
MAN= fsck_ffs.8
SRCS= dir.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
-CFLAGS+=-W
+WARNS= 0
+
.PATH: ${.CURDIR}/../../sys/ufs/ffs
.include <bsd.prog.mk>
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8
index 2486b49..cab040f 100644
--- a/sbin/fsck_ffs/fsck_ffs.8
+++ b/sbin/fsck_ffs/fsck_ffs.8
@@ -296,6 +296,10 @@ If the
.Pa lost+found
directory does not exist, it is created.
If there is insufficient space its size is increased.
+.Sh RETURN VALUES
+.Nm
+returns the value 0 if successful;
+otherwise the following values are returned to indicate the error.
.Sh FILES
.Bl -tag -width /etc/fstab -compact
.It Pa /etc/fstab
OpenPOWER on IntegriCloud