diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2013-04-25 06:41:47 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2013-04-25 06:41:47 +0000 |
commit | 4178f6843ad1f6377b10c1fe96b0a0a4ab4f2cd3 (patch) | |
tree | b747bc0467532e2b6cf8c1e87f173ea5aadf209e /sbin/ifconfig | |
parent | da422b6f4ad7182eb6b81afc1ae47e2f472f71d8 (diff) |
fix format string; found while scaning the tree for time_t/ino_t problems;
ok deraadt@ krw@
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index ebd92f67a97..3a197f83984 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.262 2013/04/19 18:11:13 deraadt Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.263 2013/04/25 06:41:46 otto Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -4718,7 +4718,7 @@ printifhwfeatures(const char *unused, int show) if (ioctl(s, SIOCGIFHARDMTU, (caddr_t)&ifr) != -1) { if (ifr.ifr_hardmtu) - printf(" hardmtu %lu", ifr.ifr_hardmtu); + printf(" hardmtu %u", ifr.ifr_hardmtu); } putchar('\n'); } |