summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander von Gernler <grunk@cvs.openbsd.org>2007-04-14 23:04:11 +0000
committerAlexander von Gernler <grunk@cvs.openbsd.org>2007-04-14 23:04:11 +0000
commit97ad7c31840f9203a76c51e657cb4fb22a320955 (patch)
tree26167d8d4506761e0936f18d003710c7c770bae7
parentaff20f0fedc09c7da1d8af8e69fca752ed010973 (diff)
if we define a constant for the OPTSTRING, we can as well use it.
ok tedu@
-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 73fdec73d53..d3c9aa9a672 100644
--- a/bin/md5/md5.c
+++ b/bin/md5/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.45 2007/04/13 13:57:01 tedu Exp $ */
+/* $OpenBSD: md5.c,v 1.46 2007/04/14 23:04:10 grunk Exp $ */
/*
* Copyright (c) 2001,2003,2005-2006 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -220,7 +220,7 @@ main(int argc, char **argv)
}
optind = 1;
optreset = 1;
- while ((fl = getopt(argc, argv, "a:bco:pqrs:tx")) != -1) {
+ while ((fl = getopt(argc, argv, OPTSTRING)) != -1) {
switch (fl) {
case 'a':
while ((cp = strsep(&optarg, " \t,")) != NULL) {