]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
src/tlsproxy.c: Fix error message.
authorSimon Ruderich <simon@ruderich.org>
Fri, 11 Mar 2011 02:26:36 +0000 (03:26 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 11 Mar 2011 02:26:36 +0000 (03:26 +0100)
src/tlsproxy.c

index 17c49e971b6a27d1e7c096c2a85977256265d1de..b67e666ed6f9e57f79faba9c3d985b22a5f1b2ff 100644 (file)
@@ -142,7 +142,8 @@ int main(int argc, char **argv) {
                                 (void * (*)(void *))&worker_thread,
                                 NULL);
         if (0 != result) {
-            printf("failed to create worker thread: %s\n", strerror(result));
+            fprintf(stderr, "failed to create worker thread: %s\n",
+                            strerror(result));
             return EXIT_FAILURE;
         }