1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +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 bf1b684e2e
commit 078cab224b

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)