Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 12:58:20 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 26031 for review
Message-ID:  <200302272058.h1RKwKpJ049608@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=26031

Change 26031 by jhb@jhb_laptop on 2003/02/27 12:57:44

	Compile.

Affected files ...

.. //depot/projects/smpng/sys/kern/subr_eventhandler.c#12 edit

Differences ...

==== //depot/projects/smpng/sys/kern/subr_eventhandler.c#12 (text+ko) ====

@@ -150,19 +150,19 @@
 	/* remove just this entry */
 	if (list->el_runcount == 0) {
 	    CTR3(KTR_EVH, "%s: removing item %p from list %s", __func__, ep,
-		name);
+		list->el_name);
 	    TAILQ_REMOVE(&list->el_entries, ep, ee_link);
 	    free(ep, M_EVENTHANDLER);
 	} else {
 	    CTR3(KTR_EVH, "%s: marking item %p from list %s as dead", __func__,
-		ep, name);
+		ep, list->el_name);
 	    ep->ee_priority = EHE_DEAD_PRIORITY;
 	}
     } else {
 	/* remove entire list */
 	if (list->el_runcount == 0) {
 	    CTR2(KTR_EVH, "%s: removing all items from list %s", __func__,
-		name);
+		list->el_name);
 	    TAILQ_REMOVE(&list->el_entries, ep, ee_link);
 	    while (!TAILQ_EMPTY(&list->el_entries)) {
 		ep = TAILQ_FIRST(&list->el_entries);
@@ -171,7 +171,7 @@
 	    }
 	} else {
 	    CTR2(KTR_EVH, "%s: marking all items from list %s as dead",
-		__func__, name);
+		__func__, list->el_name);
 	    TAILQ_FOREACH(ep, &list->el_entries, ee_link)
 		ep->ee_priority = EHE_DEAD_PRIORITY;
 	}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302272058.h1RKwKpJ049608>