cvs commit: src/sys/kern subr_witness.c

Robert Watson rwatson at FreeBSD.org
Sat Jan 22 13:14:22 PST 2005


rwatson     2005-01-22 21:14:21 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_witness.c 
  Log:
  When DDB is not defined, don't implement witness_thread_has_locks() and
  witness_proc_has_locks(), as they are unused, which results in a compiler
  error.  This problem was introduced with the implementation of "show
  alllocks".
  
  Spotted by:     Artem Kuchin <matrix at itlegion dot ru>
  
  Revision  Changes    Path
  1.187     +2 -0      src/sys/kern/subr_witness.c


More information about the cvs-src mailing list