symlist: use the right stream
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 1 Feb 2013 13:23:49 +0000 (14:23 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 1 Feb 2013 13:23:49 +0000 (14:23 +0100)
* src/symlist.c (symbol_list_syms_print): Use "f", not stderr.

src/symlist.c

index 13759e3..f9ec837 100644 (file)
@@ -88,7 +88,7 @@ symbol_list_syms_print (const symbol_list *l, FILE *f)
   for (/* Nothing. */; l && l->content.sym; l = l->next)
     {
       symbol_print (l->content.sym, f);
-      fprintf (stderr, l->action_props.is_value_used ? " used" : " unused");
+      fprintf (f, l->action_props.is_value_used ? " used" : " unused");
       if (l && l->content.sym)
         fprintf (f, ", ");
     }