diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-11-27 13:15:43 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-11-27 13:15:43 +0000 |
commit | 4638f4c62fca052ebe33a7f067fb928ecfecdeb0 (patch) | |
tree | d7f6ad679c50c5c979693c9a7e25608435e9cdbf /sbin/ifconfig/ifconfig.c | |
parent | 71fee77968ffdb933eb7376af68e42ee240c9dc4 (diff) |
fix format strings
ok mpf@ henning@
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index bf6698bfeb7..ffb305cf9d5 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.190 2007/11/22 01:21:40 mpf Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.191 2007/11/27 13:15:42 chl Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -3105,9 +3105,9 @@ setcarpnodes(const char *val, int d) errx(1, "non parsable arg: %s", str); } if (vhid >= 255) - errx(1, "vhid %s: value too large", vhid); + errx(1, "vhid %u: value too large", vhid); if (advskew >= 255) - errx(1, "advskew %s: value too large", advskew); + errx(1, "advskew %u: value too large", advskew); carpr.carpr_vhids[i] = vhid; carpr.carpr_advskews[i] = advskew; |