aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 0a6d7c714..6fc0c2a0f 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -170,7 +170,7 @@ static int spawn_cpuworker(void) {
connection_t *conn;
if(tor_socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) {
- perror("socketpair");
+ log(LOG_ERR, "Couldn't construct socketpair: %s", strerror(errno));
exit(1);
}