Skip to content
Browse files

Fix a printf(3) type error

  • Loading branch information...
1 parent f5a4589 commit 2980d2441a3aa6ea6ef225375e870fc6b015ef5f @bsdphk bsdphk committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/varnishd/mgt/mgt_child.c
View
2 bin/varnishd/mgt/mgt_child.c
@@ -500,7 +500,7 @@ mgt_reap_child(void)
r = waitpid(child_pid, &status, 0);
}
if (r != child_pid)
- fprintf(stderr, "WAIT 0x%x\n", r);
+ fprintf(stderr, "WAIT 0x%jx\n", (uintmax_t)r);
assert(r == child_pid);
/* Compose obituary */

0 comments on commit 2980d24

Please sign in to comment.
Something went wrong with that request. Please try again.