From 105bb74ddafe70e470de2d31acc1c0e9fc1eea10 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 19 Jun 1999 19:47:49 +0000 Subject: 1999-06-19 Roland McGrath * init.c (open_console): Put this function inside [! SPLIT_INIT]. --- init/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/init.c b/init/init.c index 1a3a15c7..f5c2dbd8 100644 --- a/init/init.c +++ b/init/init.c @@ -753,6 +753,7 @@ init_stdarrays () mach_port_deallocate (mach_task_self (), std_port_array[i]); } +#ifndef SPLIT_INIT /* Open /dev/console. If it isn't there, or it isn't a terminal, then create /tmp/console and put the terminal on it. If we get EROFS, in trying to create /tmp/console then as a last resort, put the @@ -911,7 +912,7 @@ open_console () return term; } - +#endif /* Frobnicate the kernel task and the proc server's idea of it (PID 2), so the kernel command line can be read as for a normal Hurd process. */ -- cgit v1.2.3