More fixes due to tightening the checks on debug/die/inform/warn varadic arguments.

This commit is contained in:
Mike Brady
2025-12-30 16:56:30 +00:00
parent ceb1f804b6
commit 691d71f356
11 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ int ptp_get_clock_info(uint64_t *actual_clock_id, uint64_t *time_of_sample, uint
int ptp_shm_interface_open() {
int response = 0;
debug(3, "ptp_shm_interface_open with mapped_addr = %" PRIuPTR "", mapped_addr);
debug(3, "ptp_shm_interface_open with mapped_addr = %" PRIuPTR "", (uintptr_t)mapped_addr);
if ((mapped_addr == NULL) || (mapped_addr == MAP_FAILED)) {
response = -1;
if (mapped_addr == NULL)