monitor: Use PRIu64 for format modifier of uint64_t

This commit is contained in:
Marcel Holtmann 2017-03-07 21:43:56 +01:00
parent 97191d56f1
commit 25a2ec7c11
1 changed files with 1 additions and 1 deletions

View File

@ -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);