1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-26 14:04:15 +03:00

Display something in the "hypothetical" unknown log level case.

This commit is contained in:
Alasdair Kergon 2002-01-18 19:38:19 +00:00
parent 8ff2a4b026
commit 8cbcb2868d
2 changed files with 3 additions and 3 deletions

View File

@ -93,10 +93,10 @@ void print_log(int level, const char *file, int line, const char *format, ...) {
fputc('\n',stderr);
break;
case _LOG_FATAL:
default:
vfprintf(stderr, format, ap);
fputc('\n',stderr);
break;
default:
;
}
va_end(ap);

View File

@ -58,8 +58,8 @@ TARGETS=\
include ../make.tmpl
lvm: $(OBJECTS) $(top_srcdir)/lib/liblvm.a
$(CC) -o lvm $(OBJECTS) $(LD_FLAGS) -L$(top_srcdir)/lib -llvm \
-ldevmapper $(LIBS)
$(CC) -o lvm $(OBJECTS) $(LD_FLAGS) -L$(top_srcdir)/lib \
-L$(DESTDIR)/lib -llvm -ldevmapper $(LIBS)
.commands: commands.h
$(CC) -E -P -Dxx\(a\)=a commands.h 2>/dev/null | \