diff options
author | jmz <jmz@FreeBSD.org> | 1999-05-22 22:56:26 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1999-05-22 22:56:26 +0000 |
commit | e7d8972c4b2d32d37412c38bf5ae67f4ea5a2a52 (patch) | |
tree | 1abcb0d754ef0bfaea5f10e249dadc37c1e3db20 /usr.sbin | |
parent | fefdc9262206f3f8d183137acfed90b65a73a103 (diff) | |
download | FreeBSD-src-e7d8972c4b2d32d37412c38bf5ae67f4ea5a2a52.zip FreeBSD-src-e7d8972c4b2d32d37412c38bf5ae67f4ea5a2a52.tar.gz |
Initialize exit code so that the program exits with code 0 on success.
PR: bin/10904
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sa/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c index 99b1d8a..55f206e 100644 --- a/usr.sbin/sa/main.c +++ b/usr.sbin/sa/main.c @@ -36,7 +36,7 @@ static const char copyright[] = #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: main.c,v 1.6 1997/10/15 06:41:17 charnier Exp $"; #endif /* not lint */ /* @@ -84,7 +84,7 @@ main(argc, argv) char **argv; { char ch; - int error; + int error = 0; while ((ch = getopt(argc, argv, "abcdDfijkKlmnqrstuv:")) != -1) switch (ch) { |