1
0
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:
Patrick Caulfield 2005-02-21 15:58:06 +00:00
parent 806318c8b3
commit 84fe06da22
3 changed files with 6 additions and 1 deletions

View File

@ -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
====================================

View File

@ -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

View File

@ -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