diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-01-06 21:37:01 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-01-06 21:37:01 +0000 |
commit | a3f256d15103f932112eeca715a93b8c842ebcfd (patch) | |
tree | 93b019a99d7b4f11ec71e47b233dc94ff628097a /sbin/ifconfig | |
parent | d575727a699b5ec3165be3e08326b53b4e0cb80c (diff) |
correct format string. ok deraadt stsp
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 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 */ |