summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrunk <grunk@openbsd.org>2007-04-14 23:04:10 +0000
committergrunk <grunk@openbsd.org>2007-04-14 23:04:10 +0000
commitfde084061a34a1557a3fa72812d0bdf02c96c3e7 (patch)
tree273700391c57a65d07945b9d1edcac824ae37095
parentremove unused macro; from Dmitry V. Levin <ldv@altlinux.org> (diff)
downloadwireguard-openbsd-fde084061a34a1557a3fa72812d0bdf02c96c3e7.tar.xz
wireguard-openbsd-fde084061a34a1557a3fa72812d0bdf02c96c3e7.zip
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) {