mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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
2 changed files with 2 additions and 3 deletions
|
|
@ -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 a new issue