summaryrefslogtreecommitdiff
path: root/usr.bin/du
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-04-16 04:21:35 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-04-16 04:21:35 +0000
commit46fec766ca47b64567d2b6746794e5f575eee24d (patch)
treee4136d666ae1a9cb6c2327c3e6e6c789d28787b9 /usr.bin/du
parentd71b4927feb17baa70ee4b9c268567aedc1a19b5 (diff)
correct return value; from FreeBSD
Diffstat (limited to 'usr.bin/du')
-rw-r--r--usr.bin/du/du.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c
index 66abc5ff162..718739235d9 100644
--- a/usr.bin/du/du.c
+++ b/usr.bin/du/du.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: du.c,v 1.5 1998/02/16 09:23:06 deraadt Exp $ */
+/* $OpenBSD: du.c,v 1.6 2000/04/16 04:21:34 ericj Exp $ */
/* $NetBSD: du.c,v 1.11 1996/10/18 07:20:35 thorpej Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)du.c 8.5 (Berkeley) 5/4/95";
#else
-static char rcsid[] = "$OpenBSD: du.c,v 1.5 1998/02/16 09:23:06 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: du.c,v 1.6 2000/04/16 04:21:34 ericj Exp $";
#endif
#endif /* not lint */
@@ -211,7 +211,7 @@ main(argc, argv)
if (cflag)
(void)printf("%ld\ttotal\n",
howmany(totalblocks, blocksize));
- exit(0);
+ exit(rval);
}
typedef struct _ID {