]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
fix obvious mistake (seems to have been there since 4.4)
authordholland <dholland@NetBSD.org>
Sun, 30 Mar 2014 04:40:50 +0000 (04:40 +0000)
committerdholland <dholland@NetBSD.org>
Sun, 30 Mar 2014 04:40:50 +0000 (04:40 +0000)
hunt/hunt/hunt.c

index ca4813837fd549bf584cc393da9c0f723894b225..cc3a0c06853057ea9f9275fb4e6a5cde557f1a9b 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: hunt.c,v 1.51 2014/03/30 04:31:21 dholland Exp $       */
+/*     $NetBSD: hunt.c,v 1.52 2014/03/30 04:40:50 dholland Exp $       */
 /*
  * Copyright (c) 1983-2003, Regents of the University of California.
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.51 2014/03/30 04:31:21 dholland Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.52 2014/03/30 04:40:50 dholland Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -227,7 +227,7 @@ main(int ac, char **av)
        else if (optind + 1 == ac)
                Sock_host = av[ac - 1];
 #else
-       if (optind > ac)
+       if (optind < ac)
                goto usage;
 #endif