summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-11 16:52:24 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-11 16:52:24 -0400
commit64521a9d355da9f21d81c8a82056e544372685b2 (patch)
treea3ce5b736e41db284f4ae2b5a925ac5195c77acf /src/common/util.c
parent77e2be06f6ff9c7328144fe5df3e3bac64106449 (diff)
parent25513ae174d80a62ca0a8dcca52683089be95ea3 (diff)
downloadtor-64521a9d355da9f21d81c8a82056e544372685b2.tar.gz
tor-64521a9d355da9f21d81c8a82056e544372685b2.zip
Merge remote-tracking branch 'public/solaris_warnings_028'
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 211ed7f8d2..259ff8756f 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -4702,13 +4702,13 @@ tor_get_exit_code(process_handle_t *process_handle,
return PROCESS_EXIT_RUNNING;
} else if (retval != process_handle->pid) {
log_warn(LD_GENERAL, "waitpid() failed for PID %d: %s",
- process_handle->pid, strerror(errno));
+ (int)process_handle->pid, strerror(errno));
return PROCESS_EXIT_ERROR;
}
if (!WIFEXITED(stat_loc)) {
log_warn(LD_GENERAL, "Process %d did not exit normally",
- process_handle->pid);
+ (int)process_handle->pid);
return PROCESS_EXIT_ERROR;
}