summaryrefslogtreecommitdiffstats
path: root/sbin/routed/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/main.c')
-rw-r--r--sbin/routed/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/main.c b/sbin/routed/main.c
index 36399e9..327ffdf 100644
--- a/sbin/routed/main.c
+++ b/sbin/routed/main.c
@@ -123,7 +123,7 @@ main(int argc,
(void)gethostname(myname, sizeof(myname)-1);
(void)gethost(myname, &myaddr);
- while ((n = getopt(argc, argv, "sqdghmpAtT:F:P:")) != EOF) {
+ while ((n = getopt(argc, argv, "sqdghmpAtT:F:P:")) != -1) {
switch (n) {
case 's':
supplier = 1;
OpenPOWER on IntegriCloud