From a3f256d15103f932112eeca715a93b8c842ebcfd Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 6 Jan 2016 21:37:01 +0000 Subject: correct format string. ok deraadt stsp --- 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 5a989afe450..6188665b0f0 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.313 2016/01/03 10:33:27 mpi Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.314 2016/01/06 21:37:00 tedu Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -2773,7 +2773,7 @@ print_media_word(uint64_t ifmw, int print_type, int as_syntax) } } if (IFM_INST(ifmw) != 0) - printf(" instance %d", IFM_INST(ifmw)); + printf(" instance %lld", IFM_INST(ifmw)); } /* ARGSUSED */ -- cgit v1.2.3