diff options
author | 2009-12-17 09:32:59 +0000 | |
---|---|---|
committer | 2009-12-17 09:32:59 +0000 | |
commit | 88af8b4ac82fcbad977f10be893a15a2c1a4cc56 (patch) | |
tree | 354fb9b0f3849ca209dc7985c08e3caac2adeb51 | |
parent | Add support for Huawei E161. (diff) | |
download | wireguard-openbsd-88af8b4ac82fcbad977f10be893a15a2c1a4cc56.tar.xz wireguard-openbsd-88af8b4ac82fcbad977f10be893a15a2c1a4cc56.zip |
Fix formatstring in printf.
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 4 |
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: |