From ac7cf601ce91fc8ef81978128d5c2342bc933086 Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Sat, 2 Feb 2013 12:20:37 -0500 Subject: [PATCH] unix-io: Don't pop up an message box every time a file fails to open. Closes: #246. --- src/unix-io/unix-io.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/unix-io/unix-io.c b/src/unix-io/unix-io.c index 5a09b5f4a2..832aad13d4 100644 --- a/src/unix-io/unix-io.c +++ b/src/unix-io/unix-io.c @@ -28,7 +28,6 @@ #include #include -#include #include #include @@ -38,8 +37,8 @@ #define POINTER_TO_INT(x) ((int) (ptrdiff_t) (x)) #define unix_error(...) do { \ - SPRINTF (unix_error_buf, __VA_ARGS__); \ - aud_interface_show_error (unix_error_buf); \ + fprintf (stderr, __VA_ARGS__); \ + fputc ('\n', stderr); \ } while (0) static void * unix_fopen (const char * uri, const char * mode)