summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2002-03-01 11:01:43 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2002-03-01 11:01:43 +0000
commitacc6f1885c6234cb683a7e7a409fb6b40bc1e195 (patch)
tree7d144d9c36534ff4547d313439e4bea11152a065
parentb57549647d4acbfc76a4ef36ed5ad2ec75a5a190 (diff)
sync with KAME
fix the argument for an unknown hash policy: argv -> *argv
-rw-r--r--usr.sbin/altq/libaltq/qop_wfq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/altq/libaltq/qop_wfq.c b/usr.sbin/altq/libaltq/qop_wfq.c
index c6eb24d7eef..4b73f390304 100644
--- a/usr.sbin/altq/libaltq/qop_wfq.c
+++ b/usr.sbin/altq/libaltq/qop_wfq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qop_wfq.c,v 1.3 2001/12/03 08:38:48 kjc Exp $ */
+/* $OpenBSD: qop_wfq.c,v 1.4 2002/03/01 11:01:42 kjc Exp $ */
/* $KAME: qop_wfq.c,v 1.5 2001/08/16 10:39:15 kjc Exp $ */
/*
* Copyright (C) 1999-2000
@@ -120,8 +120,7 @@ wfq_interface_parser(const char *ifname, int argc, char **argv)
hash_policy = WFQ_HASH_SRCPORT;
else {
LOG(LOG_ERR, 0,
- "Unknown hash policy '%s'",
- argv);
+ "Unknown hash policy '%s'", *argv);
return (0);
}
}