summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index ffb305cf9d5..6efed484d53 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.191 2007/11/27 13:15:42 chl Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.192 2007/11/27 16:21:02 chl Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -2908,8 +2908,8 @@ carp_status(void)
else
state = carp_states[carpr.carpr_states[i]];
if (carpr.carpr_vhids[1] == 0) {
- printf("\tcarp: %s carpdev %s vhid %d advbase %d "
- "advskew %d\n", state,
+ printf("\tcarp: %s carpdev %s vhid %u advbase %d "
+ "advskew %u\n", state,
carpr.carpr_carpdev[0] != '\0' ?
carpr.carpr_carpdev : "none", carpr.carpr_vhids[0],
carpr.carpr_advbase, carpr.carpr_advskews[0]);
@@ -2920,7 +2920,7 @@ carp_status(void)
carpr.carpr_carpdev : "none",
carpr.carpr_advbase);
}
- printf("\t\tstate %s vhid %d advskew %d\n", state,
+ printf("\t\tstate %s vhid %u advskew %u\n", state,
carpr.carpr_vhids[i], carpr.carpr_advskews[i]);
}
}