aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-10-15 18:28:32 +0000
committerNick Mathewson <nickm@torproject.org>2003-10-15 18:28:32 +0000
commit959b5585a5a520e118d5337ab8e643efbd4fc686 (patch)
tree9b7cdbd6eb6de125c12edd4cd9308663f514df96 /src/or/cpuworker.c
parentba7236ee59e82b2b9d25cc43943e7caeb4713490 (diff)
downloadtor-959b5585a5a520e118d5337ab8e643efbd4fc686.tar.gz
tor-959b5585a5a520e118d5337ab8e643efbd4fc686.zip
Stop using stdout for non-debugging cases
svn:r592
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 0a6d7c714a..6fc0c2a0fb 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);
}