Do not print function name when debugging.

This commit is contained in:
Enrico Fraccaroli (Galfurian)
2022-01-31 15:18:37 -05:00
parent e7f77a88f1
commit 91af18b5a6
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -65,9 +65,13 @@ static inline void __debug_print_header(const char *file, const char *fun, int l
sprintf(tmp_prefix, "%s:%d", file, line);
sprintf(final_prefix, " %-20s ", tmp_prefix);
dbg_puts(final_prefix);
#if 0
dbg_putchar('|');
sprintf(final_prefix, " %-25s ]", fun);
dbg_puts(final_prefix);
#else
dbg_putchar(']');
#endif
dbg_putchar(' ');
if (header) {
dbg_puts(header);