cvs commit: src/sys/kern sched_4bsd.c
des at des.no
Sun Jan 25 04:36:24 PST 2004
Jeff Roberson <jeff at FreeBSD.org> writes:
> - Correct function names listed in KASSERTs. These were copied from other
> code and it was sloppy of me not to adjust these sooner.
suggestions based on my experience with KASSERTs:
1) don't include the function name in panic strings as the backtrace
already provides that information (and more)
2) if you must include the function name, use %s() and __func__ to
avoid getting it wrong.
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src