Commit 2980d244 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a printf(3) type error

parent f5a45895
...@@ -500,7 +500,7 @@ mgt_reap_child(void) ...@@ -500,7 +500,7 @@ mgt_reap_child(void)
r = waitpid(child_pid, &status, 0); r = waitpid(child_pid, &status, 0);
} }
if (r != child_pid) if (r != child_pid)
fprintf(stderr, "WAIT 0x%x\n", r); fprintf(stderr, "WAIT 0x%jx\n", (uintmax_t)r);
assert(r == child_pid); assert(r == child_pid);
/* Compose obituary */ /* Compose obituary */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment