output of debug information added to all private API functions

This commit is contained in:
gsell committed 2011-05-05 07:36:47 +00:00
1 parent 09cad98413
commit c676222a03
10 files changed
+78 -44

No files matched your search

+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);