fix obvious mistake (seems to have been there since 4.4)

This commit is contained in:
dholland 2014-03-30 04:40:50 +00:00
parent 90606027c5
commit e25cca1c03

View 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. * Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved. * All rights reserved.
@ -32,7 +32,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifndef lint #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 */ #endif /* not lint */
#include <sys/param.h> #include <sys/param.h>
@ -227,7 +227,7 @@ main(int ac, char **av)
else if (optind + 1 == ac) else if (optind + 1 == ac)
Sock_host = av[ac - 1]; Sock_host = av[ac - 1];
#else #else
if (optind > ac) if (optind < ac)
goto usage; goto usage;
#endif #endif