summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/printconf.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-12-17 09:33:00 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-12-17 09:33:00 +0000
commitf9d2dda92ee5f8bc9d7470c12affacfa53874ee8 (patch)
treeba6b82842822f2796724ed021d48698f0528cc0b /usr.sbin/bgpd/printconf.c
parent97a5f3d067374400601d0a81a4de17b59f368630 (diff)
Fix formatstring in printf.
Diffstat (limited to 'usr.sbin/bgpd/printconf.c')
-rw-r--r--usr.sbin/bgpd/printconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c
index 007e19cfc50..4f658546015 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.76 2009/12/16 15:40:55 claudio Exp $ */
+/* $OpenBSD: printconf.c,v 1.77 2009/12/17 09:32:59 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -112,7 +112,7 @@ print_extcommunity(struct filter_extcommunity *c)
log_as(c->data.ext_as4.as4), c->data.ext_as.val);
break;
case EXT_COMMUNITY_OPAQUE:
- printf("%s 0x%x", log_ext_subtype(c->subtype),
+ printf("%s 0x%llx", log_ext_subtype(c->subtype),
c->data.ext_opaq);
break;
default: