summaryrefslogtreecommitdiff
path: root/usr.sbin/slaacctl
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-05-27 10:54:00 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-05-27 10:54:00 +0000
commita37cd1ad9e4c7b0ebfa3ea16d8c87daffe903294 (patch)
treea96503864092ab2d387a3a41c66f80682b7ca908 /usr.sbin/slaacctl
parent0e8ed440d30b8aee14e3e8bbc4147f6ce975bd17 (diff)
do not use %hhu
Diffstat (limited to 'usr.sbin/slaacctl')
-rw-r--r--usr.sbin/slaacctl/slaacctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/slaacctl/slaacctl.c b/usr.sbin/slaacctl/slaacctl.c
index 41a53e8837b..8e7565bfdcc 100644
--- a/usr.sbin/slaacctl/slaacctl.c
+++ b/usr.sbin/slaacctl/slaacctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slaacctl.c,v 1.3 2017/05/27 10:52:16 florian Exp $ */
+/* $OpenBSD: slaacctl.c,v 1.4 2017/05/27 10:53:59 florian Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -226,7 +226,7 @@ show_interface_msg(struct imsg *imsg)
break;
case IMSG_CTL_SHOW_INTERFACE_INFO_RA_PREFIX:
cei_ra_prefix = imsg->data;
- printf("\t\tprefix: %s/%hhu\n", inet_ntop(AF_INET6,
+ printf("\t\tprefix: %s/%u\n", inet_ntop(AF_INET6,
&cei_ra_prefix->prefix, ntopbuf, INET6_ADDRSTRLEN),
cei_ra_prefix->prefix_len);
printf("\t\t\tOn-link: %d, Autonomous address-configuration: %d"