Page MenuHomeFreeBSD

D28121.diff
No OneTemporary

D28121.diff

diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -179,6 +179,14 @@
if (TD_IS_IDLETHREAD(td))
return (0);
+ if (td->td_proc == initproc) {
+ /* Produce output when we fail to load /sbin/init: */
+ va_start(ap, fmt);
+ retval = vprintf(fmt, ap);
+ va_end(ap);
+ return (retval);
+ }
+
sx_slock(&proctree_lock);
p = td->td_proc;
PROC_LOCK(p);

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 5:26 AM (20 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15791401
Default Alt Text
D28121.diff (420 B)

Event Timeline