summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-06-03 17:02:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-06-03 17:02:54 +0000
commit8ba6a6b2a3bb8786475b59b7bb60545839198c7e (patch)
tree9ef31b065c896f701e2c2349303514ca56ad0644
parent93387e0bc9e3d76555f9339a0ebb2f118b74217d (diff)
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)