summaryrefslogtreecommitdiffstats
path: root/src/sink-pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink-pipe.c')
-rw-r--r--src/sink-pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sink-pipe.c b/src/sink-pipe.c
index 4a8348f8..78ea7bf2 100644
--- a/src/sink-pipe.c
+++ b/src/sink-pipe.c
@@ -85,7 +85,7 @@ int module_init(struct core *c, struct module*m) {
mkfifo((p = m->argument ? m->argument : "/tmp/musicfifo"), 0777);
- if ((fd = open(p, O_RDWR) < 0)) {
+ if ((fd = open(p, O_RDWR)) < 0) {
fprintf(stderr, "open('%s'): %s\n", p, strerror(errno));
goto fail;
}