summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/stand/installboot/installboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/stand/installboot/installboot.c')
-rw-r--r--sys/arch/sun3/stand/installboot/installboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sun3/stand/installboot/installboot.c b/sys/arch/sun3/stand/installboot/installboot.c
index 19ed48b0d2a..88244cb41ba 100644
--- a/sys/arch/sun3/stand/installboot/installboot.c
+++ b/sys/arch/sun3/stand/installboot/installboot.c
@@ -89,7 +89,7 @@ main(argc, argv)
char *protostore;
long protosize;
- while ((c = getopt(argc, argv, "vnh")) != EOF) {
+ while ((c = getopt(argc, argv, "vnh")) != -1) {
switch (c) {
case 'h':
/* Don't strip a.out header */