summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-01-16 00:35:52 +0000
committermillert <millert@openbsd.org>1997-01-16 00:35:52 +0000
commitdc1c5c23c93f78fb41f4a792e8f3ed429607c2f8 (patch)
treef8bf8a5aaab193fc86526ad98378b7440cef38f8
parentgetopt(3) returns -1 when out of args, not EOF, whee! (diff)
downloadwireguard-openbsd-dc1c5c23c93f78fb41f4a792e8f3ed429607c2f8.tar.xz
wireguard-openbsd-dc1c5c23c93f78fb41f4a792e8f3ed429607c2f8.zip
getopt(3) returns an int, not char.
-rw-r--r--sbin/bim/bim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/bim/bim.c b/sbin/bim/bim.c
index bbb52f522ed..41f1fe63f8c 100644
--- a/sbin/bim/bim.c
+++ b/sbin/bim/bim.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bim.c,v 1.3 1997/01/15 23:41:09 millert Exp $ */
+/* $OpenBSD: bim.c,v 1.4 1997/01/16 00:35:52 millert Exp $ */
/* $NetBSD: bim.c,v 1.4 1995/09/28 07:08:49 phil Exp $ */
/*
@@ -610,7 +610,7 @@ char *argv[];
char *argcmds[MAXARGCMDS];
extern int optind, opterr;
extern char *optarg;
- char optchar;
+ int optchar;
int index;
/* Check the parameters. */