aboutsummaryrefslogtreecommitdiff
path: root/pcap-tc.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2022-03-08 15:18:24 -0800
committerGuy Harris <gharris@sonic.net>2022-03-08 15:18:24 -0800
commitf6fb59b11d20222d4648cdceeaadf6ce971a7a9a (patch)
tree82d4be40231a93047587a9cd52777b77528e188d /pcap-tc.c
parentcc9e70b80e0a33130fcb24fbab13a40666976d7f (diff)
parente75cc82c46e0f1208fbac03530da6a30976c7fd6 (diff)
Merge branch 'master' into pcap-options
Diffstat (limited to 'pcap-tc.c')
-rw-r--r--pcap-tc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-tc.c b/pcap-tc.c
index 9902633a..aa28f0fe 100644
--- a/pcap-tc.c
+++ b/pcap-tc.c
@@ -1124,7 +1124,7 @@ TcSetMode(pcap_t *p, int mode)
{
if (mode != MODE_CAPT)
{
- snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Mode %u not supported by TurboCap devices. TurboCap only supports capture.", mode);
+ snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Mode %d not supported by TurboCap devices. TurboCap only supports capture.", mode);
return -1;
}