summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2001-06-03 17:02:53 +0000
committerespie <espie@openbsd.org>2001-06-03 17:02:53 +0000
commit7fd15de3521c58a8f751690cb4176e768029852b (patch)
treecc977a4f35fa7b02e4df2430a63e5b28143b916b
parentMake sure targs get initialized. (diff)
downloadwireguard-openbsd-7fd15de3521c58a8f751690cb4176e768029852b.tar.xz
wireguard-openbsd-7fd15de3521c58a8f751690cb4176e768029852b.zip
Obvious thinko: command line is wrong if it's too short, not too long.
-rw-r--r--bin/md5/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c
index b96b4363a35..284d3661e1e 100644
--- a/bin/md5/md5.c
+++ b/bin/md5/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.11 2001/06/02 21:04:53 millert Exp $ */
+/* $OpenBSD: md5.c,v 1.12 2001/06/03 17:02:53 espie Exp $ */
/*
* Copyright (c) 2001 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -116,7 +116,7 @@ main(int argc, char **argv)
argc -= optind;
argv += optind;
- if (pflag + tflag + xflag + argc > 1)
+ if (pflag + tflag + xflag + argc < 1)
usage();
if (tflag)