summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniallo <niallo@openbsd.org>2006-01-30 15:49:18 +0000
committerniallo <niallo@openbsd.org>2006-01-30 15:49:18 +0000
commit134ccf9ffa10c272bc3e6d5f93cc9707be1653c6 (patch)
tree1a60910b62d8018d83cd2ffd7dcde5e2392fa88a
parentremove an incorrect sentence; (diff)
downloadwireguard-openbsd-134ccf9ffa10c272bc3e6d5f93cc9707be1653c6.tar.xz
wireguard-openbsd-134ccf9ffa10c272bc3e6d5f93cc9707be1653c6.zip
- make fatal() exit with code 1 instead of 255. makes us more compatible
with gnu on errors. ok xsa@
-rw-r--r--usr.bin/cvs/fatal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/fatal.c b/usr.bin/cvs/fatal.c
index 45b4278bac6..7eb37d25c1c 100644
--- a/usr.bin/cvs/fatal.c
+++ b/usr.bin/cvs/fatal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fatal.c,v 1.5 2006/01/02 08:11:56 xsa Exp $ */
+/* $OpenBSD: fatal.c,v 1.6 2006/01/30 15:49:18 niallo Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -38,5 +38,5 @@ fatal(const char *fmt,...)
va_start(args, fmt);
cvs_vlog(LP_ABORT, fmt, args);
va_end(args);
- exit(255);
+ exit(1);
}