symlist: use the right stream

* src/symlist.c (symbol_list_syms_print): Use "f", not stderr.
This commit is contained in:
Akim Demaille
2013-02-01 14:23:49 +01:00
parent 97ad789d10
commit e6c25014bb

View 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, ", ");
}