Make "nscd -t" work.
Reviewed by: des@ MFC after: 2 weeks Sponsored by: Chalmers University of Technology Differential Revision: https://reviews.freebsd.org/D17563
This commit is contained in:
parent
fcbb889fdb
commit
323d76db47
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user