summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniallo <niallo@openbsd.org>2005-12-10 19:44:36 +0000
committerniallo <niallo@openbsd.org>2005-12-10 19:44:36 +0000
commitf91c22bcf60dbb8da5f70c6b135ad7891c9263a4 (patch)
treea96907c2c72786a778f261c747898ac6b44f81d8
parentMatch new lint warning and error format (similar to gcc's format). (diff)
downloadwireguard-openbsd-f91c22bcf60dbb8da5f70c6b135ad7891c9263a4.tar.xz
wireguard-openbsd-f91c22bcf60dbb8da5f70c6b135ad7891c9263a4.zip
- its wrong to use exit() here; return instead.
ok joris@
-rw-r--r--usr.bin/rcs/rcsdiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c
index e7730f8b379..7af6398d1d0 100644
--- a/usr.bin/rcs/rcsdiff.c
+++ b/usr.bin/rcs/rcsdiff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsdiff.c,v 1.25 2005/12/05 14:47:24 xsa Exp $ */
+/* $OpenBSD: rcsdiff.c,v 1.26 2005/12/10 19:44:36 niallo Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -160,7 +160,7 @@ rcsdiff_main(int argc, char **argv)
rcs_close(file);
}
- exit(status);
+ return (status);
}
void