diff options
Diffstat (limited to 'src/vu-from-image.c')
| -rw-r--r-- | src/vu-from-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vu-from-image.c b/src/vu-from-image.c index bdfbde3..9c2d047 100644 --- a/src/vu-from-image.c +++ b/src/vu-from-image.c @@ -229,7 +229,7 @@ main(int argc, char *argv[]) if (!pid) { close(pipe_rw[0]); - if (dup2(pipe_rw[1], STDOUT_FILENO) < 0) + if (dup2(pipe_rw[1], STDOUT_FILENO) == -1) eprintf("dup2:"); close(pipe_rw[1]); /* XXX Is there a way to convert directly to raw XYZ? (Would avoid gamut truncation) */ |
