From 4178f6843ad1f6377b10c1fe96b0a0a4ab4f2cd3 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Thu, 25 Apr 2013 06:41:47 +0000 Subject: fix format string; found while scaning the tree for time_t/ino_t problems; ok deraadt@ krw@ --- sbin/ifconfig/ifconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/ifconfig') 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'); } -- cgit v1.2.3