diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2018-10-30 15:39:33 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2018-10-30 15:39:33 +0000 |
commit | 323d76db47bf310bb0602daf89278a7e90f49c5e (patch) | |
tree | 479d9e53c1dce6d079a9580a259226caa98e5b26 /usr.sbin/nscd | |
parent | fcbb889fdb3b784c57a69af58d7ee678db2fc88d (diff) | |
download | src-323d76db47bf310bb0602daf89278a7e90f49c5e.tar.gz src-323d76db47bf310bb0602daf89278a7e90f49c5e.zip |
Notes
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__) |