diff options
Diffstat (limited to 'usr.sbin/nscd')
-rw-r--r-- | usr.sbin/nscd/debug.c | 2 | ||||
-rw-r--r-- | usr.sbin/nscd/debug.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/nscd/debug.c b/usr.sbin/nscd/debug.c index 48130b4a00d0..2d2ea5b2ca44 100644 --- a/usr.sbin/nscd/debug.c +++ b/usr.sbin/nscd/debug.c @@ -131,7 +131,7 @@ nscd_trace_out(const char *s, const char *f, int l) for (i = 0; i < trace_level; ++i) printf("\t"); - printf("<= %s\n", s); + printf("<= %s, %s: %d\n", s, f, l); } } diff --git a/usr.sbin/nscd/debug.h b/usr.sbin/nscd/debug.h index e345637d4b38..862b902447c7 100644 --- a/usr.sbin/nscd/debug.h +++ b/usr.sbin/nscd/debug.h @@ -31,8 +31,7 @@ #define TRACE_WANTED 32 -/* #ifndef NDEBUG */ -#if 0 +#ifndef NDEBUG #define TRACE_IN(x) nscd_trace_in(#x, __FILE__, __LINE__) #define TRACE_POINT() nscd_trace_point(__FILE__, __LINE__) #define TRACE_MSG(x) nscd_trace_msg(x, __FILE__, __LINE__) |