diff options
author | Guy Harris <gharris@sonic.net> | 2021-02-20 11:49:12 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-02-20 11:49:12 -0800 |
commit | 79e718f1a23452becd725fa727ea60489c3a5577 (patch) | |
tree | 2042c21b8e461619ab44907816b1bb5ac32211fd /pcap-npf.c | |
parent | fad6b5f8dfcef124ce883571c045af8179292d21 (diff) |
NPF: use %lu for all ULONGs.
Found by Gisle Vanem using clang-cl.
Diffstat (limited to 'pcap-npf.c')
-rw-r--r-- | pcap-npf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1536,7 +1536,7 @@ pcap_create_interface(const char *device _U_, char *ebuf) } if (modes[0] != num_ts_modes) { snprintf(ebuf, PCAP_ERRBUF_SIZE, - "First PacketGetTimestampModes() call gives %lu modes, second call gives %u modes", + "First PacketGetTimestampModes() call gives %lu modes, second call gives %lu modes", num_ts_modes, modes[0]); free(modes); pcap_close(p); |