diff options
Diffstat (limited to 'qarshd.c')
-rw-r--r-- | qarshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ run_cmd(const char *cmd, int p_in, int p_out, int p_err) dup2(new_err, fileno(stderr)); execlp("sh", "sh", "-c", cmd, NULL); - printf("exec of %s failed: %d, %s\n", cmd, errno, strerror(errno)); + fprintf(stderr, "exec of %s failed: %d, %s\n", cmd, errno, strerror(errno)); exit(127); } return pid; |