output of debug information added to all private API functions

This commit is contained in:
2011-05-05 07:36:47 +00:00
parent 09cad98413
commit c676222a03
10 changed files with 78 additions and 44 deletions
+3 -3
View File
@@ -287,9 +287,9 @@ h5_debug (
...
) {
if (h5_debug_level >= 4) {
char prefix[256];
snprintf (prefix, sizeof(prefix), "(%d) %s",
h5_call_stack_get_level(),
char prefix[1024];
snprintf (prefix, sizeof(prefix), "%*s %s",
h5_call_stack_get_level(), "",
h5_call_stack_get_name());
va_list ap;
va_start (ap, fmt);