Index: hwpmc_logging.c =================================================================== RCS file: /home/ncvs/src/sys/dev/hwpmc/hwpmc_logging.c,v retrieving revision 1.4 diff -u -r1.4 hwpmc_logging.c --- hwpmc_logging.c 5 Dec 2005 11:58:32 -0000 1.4 +++ hwpmc_logging.c 26 Dec 2005 10:07:01 -0000 @@ -621,7 +621,7 @@ /* remove this owner from the global SS pmc owner list */ if (po->po_sscount) - LIST_REMOVE(po, po_ssnext); + return EBUSY; KASSERT(po->po_file != NULL, ("[pmc,%d] po=%p no log file", __LINE__, po));