summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/ipcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 8dc7751a..0b5ddf11 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -802,10 +802,10 @@ void ipcp_lock_to_core(void)
CPU_SET(cpu, &cpus);
if (pthread_setaffinity_np(pthread_self(), sizeof(cpus), &cpus))
- log_warn("Failed to lock thread %lu to CPU %lu/%lu.",
+ log_warn("Failed to lock thread %lu to CPU %zu/%lu.",
pthread_self(), cpu, NPROC);
else
- log_dbg("Locked thread %lu to CPU %lu/%lu.",
+ log_dbg("Locked thread %lu to CPU %zu/%lu.",
pthread_self(), cpu, NPROC);
#endif
}