summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-11-01 06:49:14 +0000
committerlukem <lukem@NetBSD.org>1997-11-01 06:49:14 +0000
commit3e8e744696c496635af4fdbca1aa0a8bc1acf95b (patch)
tree4d8a7aaeb51f66b691f1b4c01404dbab2e160974 /sys/dev
parent219751628cd49bd59987777b63e233be2b260191 (diff)
getopt returns -1 not EOF
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/microcode/aic7xxx/aic7xxx_asm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic7xxx_asm.c b/sys/dev/microcode/aic7xxx/aic7xxx_asm.c
index fd9e8bb4229..e18a7732d38 100644
--- a/sys/dev/microcode/aic7xxx/aic7xxx_asm.c
+++ b/sys/dev/microcode/aic7xxx/aic7xxx_asm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx_asm.c,v 1.4 1996/05/20 00:48:48 thorpej Exp $ */
+/* $NetBSD: aic7xxx_asm.c,v 1.5 1997/11/01 06:49:58 lukem Exp $ */
/*+M*************************************************************************
* Adaptec AIC7770/AIC7870 sequencer code assembler.
@@ -45,7 +45,7 @@
* are token separators.
*
*-M*************************************************************************/
-static char id[] = "$NetBSD: aic7xxx_asm.c,v 1.4 1996/05/20 00:48:48 thorpej Exp $";
+static char id[] = "$NetBSD: aic7xxx_asm.c,v 1.5 1997/11/01 06:49:58 lukem Exp $";
#include <ctype.h>
#include <stdio.h>
#include <string.h>
@@ -587,7 +587,7 @@ main(int argc, char **argv)
int fd[2];
ofile = NULL;
- while ((c = getopt(argc, argv, "dho:vD:")) != EOF) {
+ while ((c = getopt(argc, argv, "dho:vD:")) != -1) {
switch (c) {
case 'd':
debug = !0;