1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-27 18:04:20 +03:00

Suppress meaningless <backtrace> msg on screen (no prog/line number given)

This commit is contained in:
Alasdair Kergon 2002-02-20 21:26:40 +00:00
parent 23cc65e537
commit 8d97ca433c

View File

@ -95,6 +95,8 @@ void print_log(int level, const char *file, int line, const char *format, ...) {
va_start(ap, format);
switch(level) {
case _LOG_DEBUG:
if (!strcmp("<backtrace>", format))
break;
if (_verbose_level > 2) {
printf("%s%s", _cmd_name, _msg_prefix);
if (_indent)