summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-08-07 21:31:00 +0000
committersteve <steve@FreeBSD.org>1997-08-07 21:31:00 +0000
commit548d1c00562f600dffcd4e78769f98102770f319 (patch)
tree2a3ca8bb5709959bde4ed03a31e3796b7c96e9f2 /bin
parent585d84061d7a4e6c6e7ec5a04dc49f2f7dac7b71 (diff)
downloadFreeBSD-src-548d1c00562f600dffcd4e78769f98102770f319.zip
FreeBSD-src-548d1c00562f600dffcd4e78769f98102770f319.tar.gz
Add Bruce's _NEW_VFSCONF flag to make this compile cleanly and
sccsid -> rcsid.
Diffstat (limited to 'bin')
-rw-r--r--bin/df/Makefile4
-rw-r--r--bin/df/df.c11
2 files changed, 9 insertions, 6 deletions
diff --git a/bin/df/Makefile b/bin/df/Makefile
index 519d04c..bca8e35 100644
--- a/bin/df/Makefile
+++ b/bin/df/Makefile
@@ -1,5 +1,5 @@
+# $Id: Makefile,v 1.5 1997/03/13 17:29:08 bde Exp $
# @(#)Makefile 8.3 (Berkeley) 5/8/95
-# $Id: Makefile,v 1.4 1997/02/22 14:02:55 peter Exp $
PROG= df
SRCS= df.c vfslist.c
@@ -7,7 +7,7 @@ BINGRP= operator
BINMODE=2555
MOUNT= ${.CURDIR}/../../sbin/mount
-CFLAGS+= -I${MOUNT}
+CFLAGS+= -I${MOUNT} -D_NEW_VFSCONF
.PATH: ${MOUNT}
.include <bsd.prog.mk>
diff --git a/bin/df/df.c b/bin/df/df.c
index 122906c..e35de1c 100644
--- a/bin/df/df.c
+++ b/bin/df/df.c
@@ -34,18 +34,21 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: df.c,v 1.15 1997/03/13 17:41:37 bde Exp $
*/
#ifndef lint
-static char const copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1980, 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)df.c 8.9 (Berkeley) 5/8/95";
+#if 0
+static char sccsid[] = "@(#)df.c 8.9 (Berkeley) 5/8/95";
+#else
+static const char rcsid[] =
+ "$Id: df.c,v 1.16 1997/03/28 15:24:17 imp Exp $";
+#endif
#endif /* not lint */
#include <sys/param.h>
OpenPOWER on IntegriCloud