err to stderr
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 9 Jan 2012 08:29:25 +0000 (08:29 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 9 Jan 2012 08:29:25 +0000 (08:29 +0000)
tests/test_io_dir_list.c

index 7be8d7b..6413eb9 100644 (file)
@@ -63,7 +63,7 @@ static int test_2files_dir()
                } else if (!strcmp(*cur, "data/2files_dir/two")) {
                        two++;
                } else {
-                       fprintf("ERROR: wrong item: %s\n", *cur);
+                       fprintf(stderr, "ERROR: wrong item: %s\n", *cur);
 
                        ret = 1;
                }