]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui_common.c
paraslash 0.3.0
[paraslash.git] / gui_common.c
index 607a88e81c62e80c880bd54258a0f3084c9dc1d8..b517d715ed4e174eb9fd4e550589db936bffafae 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -21,7 +21,7 @@ int para_open_audiod_pipe(char *cmd)
        int ret = para_exec_cmdline_pid(&pid, cmd, fds);
        if (ret < 0)
                return ret;
-       ret = mark_fd_nonblock(fds[1]);
+       ret = mark_fd_nonblocking(fds[1]);
        if (ret > 0)
                return fds[1];
        close(fds[1]);