From: ericj Date: Sun, 16 Apr 2000 04:21:34 +0000 (+0000) Subject: correct return value; from FreeBSD X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7bb368f77bc17b07f44fe54b7a7353350d2479a2;p=openbsd correct return value; from FreeBSD --- 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 {