Skip to content

Commit d68910b

Browse files
hahnnicholassidcha
authored andcommitted
Fixed format string mismatch in osdp_diag.c: %d used for size_t argument #283
Related-to: #290 Fixes: #283
1 parent 10d858d commit d68910b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/osdp_diag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void osdp_packet_capture_finish(struct osdp_pd *pd)
5252
LOG_ERR("Unable to stop capture (flush/close failed)");
5353
return;
5454
}
55-
LOG_INF("Captured %d packets", num_packets);
55+
LOG_INF("Captured %zu packets", num_packets);
5656
}
5757

5858
void osdp_capture_packet(struct osdp_pd *pd, uint8_t *buf, int len)

0 commit comments

Comments
 (0)