Date: Sat, 30 Sep 2006 08:56:41 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 106959 for review Message-ID: <200609300856.k8U8uf0Q035658@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106959 Change 106959 by rdivacky@rdivacky_witten on 2006/09/30 08:56:19 change if (cond) panic() to KASSERT. Suggested by: ssouhlal Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_emul.c#2 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_emul.c#2 (text+ko) ==== @@ -97,8 +97,7 @@ LIST_INIT(&s->threads); } p = pfind(child); - if (p == NULL) - panic("process not found in proc_init\n"); + KASSERT(p != NULL, ("process not found in proc_init\n")); p->p_emuldata = em; PROC_UNLOCK(p); EMUL_LOCK(&emul_lock);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609300856.k8U8uf0Q035658>