aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/vty.c
diff options
context:
space:
mode:
authorAlexander Huemer <alexander.huemer@xx.vu>2015-11-06 20:59:50 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-15 15:33:46 +0100
commit056c267b899e264735595a205af4bea6d511f6d7 (patch)
tree3b551158487fe10b9b8d00ad8312598b04c8df80 /src/common/vty.c
parent2b7728cd9d306648328d505c6f4700c6918506fa (diff)
fix some format specifiers
Diffstat (limited to 'src/common/vty.c')
-rw-r--r--src/common/vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index ae8125cc..4fd65d0d 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -21,6 +21,7 @@
#include "btsconfig.h"
+#include <inttypes.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -577,8 +578,8 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts)
paging_get_queue_max(btsb->paging_state), paging_queue_length(btsb->paging_state),
paging_get_lifetime(btsb->paging_state), VTY_NEWLINE);
vty_out(vty, " AGCH: Queue limit %u, occupied %d, "
- "dropped %llu, merged %llu, rejected %llu, "
- "ag-res %llu, non-res %llu%s",
+ "dropped %"PRIu64", merged %"PRIu64", rejected %"PRIu64", "
+ "ag-res %"PRIu64", non-res %"PRIu64"%s",
btsb->agch_max_queue_length, btsb->agch_queue_length,
btsb->agch_queue_dropped_msgs, btsb->agch_queue_merged_msgs,
btsb->agch_queue_rejected_msgs, btsb->agch_queue_agch_msgs,