From 025490141683540acf97e05086aa8b2b1ee4797b Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Mon, 1 Feb 2010 15:40:18 -0500 Subject: [PATCH] change DEBUG macro to UST_DEBUG, now it must be -D's at ./configure to activate it --- include/usterr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/usterr.h b/include/usterr.h index a32b0b6..12a4214 100644 --- a/include/usterr.h +++ b/include/usterr.h @@ -48,8 +48,7 @@ #define ERRMSG(fmt, args...) do { sigsafe_print_err(UST_STR_COMPONENT "[%ld/%ld]: " fmt " (" __FILE__ ":" XSTR(__LINE__) ")\n", (long) getpid(), (long) syscall(SYS_gettid), ## args); fflush(stderr); } while(0) -/*#define DEBUG*/ -#ifdef DEBUG +#ifdef UST_DEBUG # define DBG(fmt, args...) ERRMSG(fmt, ## args) #else # define DBG(fmt, args...) do {} while(0) -- 2.34.1