From 25a2ec7c117dec558df6820cbbd9624d8d740c57 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 7 Mar 2017 21:43:56 +0100 Subject: [PATCH] monitor: Use PRIu64 for format modifier of uint64_t --- monitor/nlmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/nlmon.c b/monitor/nlmon.c index 54a36d50..c487cd1c 100644 --- a/monitor/nlmon.c +++ b/monitor/nlmon.c @@ -3804,7 +3804,7 @@ static void print_eapol_key(const void *data, uint32_t size) print_attr(1, "Install: %s", ek->install ? "true" : "false"); print_attr(1, "Key ACK: %s", ek->key_ack ? "true" : "false"); print_attr(1, "Key Length: %d", L_BE16_TO_CPU(ek->key_length)); - print_attr(1, "Key Replay Counter: %ld", + print_attr(1, "Key Replay Counter: %" PRIu64, L_BE64_TO_CPU(ek->key_replay_counter)); print_attr(1, "Key NONCE"); print_hexdump(2, ek->key_nonce, 32);