summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-06-03 21:55:28 +0000
committerchristos <christos@NetBSD.org>2006-06-03 21:55:28 +0000
commitb3c28e1d6462feb38df1f89dc202ca2bfc25ec02 (patch)
treec76899007e23aafec0184e732d4a47885c45ec96
parente07345e108e2d37c6bdf6b71bcc6fd79ab36a9b6 (diff)
kill explicit size printing in warning.
-rw-r--r--usr.sbin/wlanctl/wlanctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/wlanctl/wlanctl.c b/usr.sbin/wlanctl/wlanctl.c
index 022a80738af..a668bf4acd4 100644
--- a/usr.sbin/wlanctl/wlanctl.c
+++ b/usr.sbin/wlanctl/wlanctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wlanctl.c,v 1.6 2006/06/03 17:29:56 christos Exp $ */
+/* $NetBSD: wlanctl.c,v 1.7 2006/06/03 21:55:28 christos Exp $ */
/*-
* Copyright (c) 2005 David Young. All rights reserved.
*
@@ -217,7 +217,7 @@ dump_nodes(const char *ifname_arg, int hdr_type, struct cmdflags *cf)
totallen = namelen + IEEE80211_SYSCTL_NODENAMELEN;
if (totallen >= NELTS(name)) {
- warnx("Internal error finding sysctl mib %d %d", totallen, NELTS(name));
+ warnx("Internal error finding sysctl mib");
return -1;
}
vname = &name[namelen];