diff options
Diffstat (limited to 'usr.sbin/arp/arp.c')
-rw-r--r-- | usr.sbin/arp/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index d2c329021ec..9af01e5b57f 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -97,7 +97,7 @@ main(argc, argv) int ch; pid = getpid(); - while ((ch = getopt(argc, argv, "andsf")) != EOF) + while ((ch = getopt(argc, argv, "andsf")) != -1) switch((char)ch) { case 'a': dump(0); |