summaryrefslogtreecommitdiff
path: root/usr.sbin/altq/libaltq/qop_dummy.c
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2001-12-03 08:38:49 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2001-12-03 08:38:49 +0000
commitb57632cd9976c363ea1512a745d936bc6dd348a6 (patch)
treeb84458d98fdfc8cf491a25ece682d7eb7d6c5159 /usr.sbin/altq/libaltq/qop_dummy.c
parentf1af9cde5648805aa4bdc255bbfa58d748b06542 (diff)
fix bugs in reporting unknown keywords. (argv shoud be *argv)
report and fix by Oleg Safiullin <form@openbsd.ru>
Diffstat (limited to 'usr.sbin/altq/libaltq/qop_dummy.c')
-rw-r--r--usr.sbin/altq/libaltq/qop_dummy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/altq/libaltq/qop_dummy.c b/usr.sbin/altq/libaltq/qop_dummy.c
index ab0e59beb34..9deece6caee 100644
--- a/usr.sbin/altq/libaltq/qop_dummy.c
+++ b/usr.sbin/altq/libaltq/qop_dummy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qop_dummy.c,v 1.2 2001/08/16 12:59:43 kjc Exp $ */
+/* $OpenBSD: qop_dummy.c,v 1.3 2001/12/03 08:38:48 kjc Exp $ */
/* $KAME: qop_dummy.c,v 1.4 2001/08/16 10:39:14 kjc Exp $ */
/*
* Copyright (C) 1999-2000
@@ -90,7 +90,7 @@ null_interface_parser(const char *ifname, int argc, char **argv)
if (argc > 0)
tbrsize = atobytes(*argv);
} else {
- LOG(LOG_ERR, 0, "Unknown keyword '%s'", argv);
+ LOG(LOG_ERR, 0, "Unknown keyword '%s'", *argv);
return (0);
}
argc--; argv++;