summaryrefslogtreecommitdiffstats
path: root/qarshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'qarshd.c')
-rw-r--r--qarshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qarshd.c b/qarshd.c
index 380a9a3..440c3ec 100644
--- a/qarshd.c
+++ b/qarshd.c
@@ -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;