summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusctl/radiusctl.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-12-31 16:22:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-12-31 16:22:28 +0000
commit05e19e1e240782fddb68d37b30817dcfbef87e72 (patch)
tree6a60059c112caaabb49a82e6ac16fccdd3ec1a60 /usr.sbin/radiusctl/radiusctl.c
parent959e01e8f243684d39438fd6e2b1b3e89b046da4 (diff)
Do not mix EX_* from sysexits.h and EXIT_* from stdlib.h, just use
EXIT_*.
Diffstat (limited to 'usr.sbin/radiusctl/radiusctl.c')
-rw-r--r--usr.sbin/radiusctl/radiusctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/radiusctl/radiusctl.c b/usr.sbin/radiusctl/radiusctl.c
index c0e82354fe0..49c238f6030 100644
--- a/usr.sbin/radiusctl/radiusctl.c
+++ b/usr.sbin/radiusctl/radiusctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radiusctl.c,v 1.5 2015/10/19 22:07:37 yasuoka Exp $ */
+/* $OpenBSD: radiusctl.c,v 1.6 2015/12/31 16:22:27 millert Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
*
@@ -26,7 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sysexits.h>
#include <unistd.h>
#include <radius.h>
@@ -59,7 +58,7 @@ main(int argc, char *argv[])
switch (ch) {
default:
usage();
- return (EX_USAGE);
+ return (EXIT_FAILURE);
}
argc -= optind;
argv += optind;