svn commit: r364198 - stable/12/usr.sbin/nscd
Edward Tomasz Napierala
trasz at FreeBSD.org
Thu Aug 13 17:36:53 UTC 2020
Author: trasz
Date: Thu Aug 13 17:36:52 2020
New Revision: 364198
URL: https://svnweb.freebsd.org/changeset/base/364198
Log:
MFC r339919:
Make "nscd -t" work.
Modified:
stable/12/usr.sbin/nscd/debug.c
stable/12/usr.sbin/nscd/debug.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/usr.sbin/nscd/debug.c
==============================================================================
--- stable/12/usr.sbin/nscd/debug.c Thu Aug 13 16:45:55 2020 (r364197)
+++ stable/12/usr.sbin/nscd/debug.c Thu Aug 13 17:36:52 2020 (r364198)
@@ -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);
}
}
Modified: stable/12/usr.sbin/nscd/debug.h
==============================================================================
--- stable/12/usr.sbin/nscd/debug.h Thu Aug 13 16:45:55 2020 (r364197)
+++ stable/12/usr.sbin/nscd/debug.h Thu Aug 13 17:36:52 2020 (r364198)
@@ -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__)
More information about the svn-src-all
mailing list