mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-26 14:04:15 +03:00
./configure --enable-debug now enables debugging code in clvmd
This commit is contained in:
parent
806318c8b3
commit
84fe06da22
@ -1,6 +1,7 @@
|
||||
Version 2.01.06 -
|
||||
====================================
|
||||
Fix clvmd-gulm locking.
|
||||
./configure --enable-debug now enables debugging code in clvmd
|
||||
|
||||
Version 2.01.05 - 18th February 2005
|
||||
====================================
|
||||
|
@ -34,6 +34,10 @@ ifeq ("@CLVMD@", "all")
|
||||
CMAN = yes
|
||||
endif
|
||||
|
||||
ifeq ("@DEBUG@", "yes")
|
||||
CFLAGS += -DDEBUG
|
||||
endif
|
||||
|
||||
ifeq ("$(GULM)", "yes")
|
||||
SOURCES += clvmd-gulm.c tcp-comms.c
|
||||
LMLIBS += -lccs -lgulm
|
||||
|
@ -93,7 +93,7 @@ struct local_client {
|
||||
struct netsock_bits net;
|
||||
} bits;
|
||||
};
|
||||
#define DEBUG
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DEBUGLOG(fmt, args...) fprintf(stderr, "CLVMD[%d]: %ld ", getpid(), time(NULL) ); fprintf(stderr, fmt, ## args)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user