Fix printf call in symtab.c.
2018-11-05 Martin Liska <mliska@suse.cz> * symtab.c (ht_dump_statistics): Fix format and pass missing argument. From-SVN: r265810
This commit is contained in:
parent
d89288868c
commit
037903cbd1
|
@ -1,3 +1,8 @@
|
|||
2018-11-05 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* symtab.c (ht_dump_statistics): Fix format and
|
||||
pass missing argument.
|
||||
|
||||
2018-11-05 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* symtab.c (ht_dump_statistics): Make dump conditional
|
||||
|
|
|
@ -321,8 +321,9 @@ ht_dump_statistics (cpp_hash_table *table)
|
|||
else
|
||||
{
|
||||
overhead = obstack_memory_used (&table->stack) - total_bytes;
|
||||
fprintf (stderr, "obstack bytes\t%lu%c (%lu%c overhead)\n",
|
||||
SCALE (total_bytes), LABEL (total_bytes));
|
||||
fprintf (stderr, "obstack bytes\t%zu%c (%zu%c overhead)\n",
|
||||
SCALE (total_bytes), LABEL (total_bytes),
|
||||
SCALE (overhead), LABEL (overhead));
|
||||
}
|
||||
fprintf (stderr, "table size\t%lu%c\n",
|
||||
SCALE (headers), LABEL (headers));
|
||||
|
|
Loading…
Reference in New Issue