From 7bb368f77bc17b07f44fe54b7a7353350d2479a2 Mon Sep 17 00:00:00 2001 From: ericj Date: Sun, 16 Apr 2000 04:21:34 +0000 Subject: [PATCH] correct return value; from FreeBSD --- usr.bin/du/du.c | 6 +++--- 1 file 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 { -- 2.20.1