Code

Use gcc-specific __attribute__ to mark unused parameter
[collectd.git] / src / exec.c
index 14d288f1f419f78df74f26fd2b9b10afcbfe63d5..fbd9c268bcd74102ef0381ea11023944a9d59baf 100644 (file)
@@ -493,7 +493,7 @@ static int fork_child (program_list_t *pl, int *fd_in, int *fd_out, int *fd_err)
       close (fd_pipe_out[1]);
     }
 
-    /* Now connect the `out' pipe to STDOUT */
+    /* Now connect the `err' pipe to STDERR */
     if (fd_pipe_err[1] != STDERR_FILENO)
     {
       dup2 (fd_pipe_err[1], STDERR_FILENO);