Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107372649
D28121.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
420 B
Referenced Files
None
Subscribers
None
D28121.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D28121: Emit uprintf() output for initproc if there is no controlling terminal
Attached
Detach File
Event Timeline
Log In to Comment