diff options
author | Roland McGrath <roland@gnu.org> | 1999-06-19 19:47:49 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-06-19 19:47:49 +0000 |
commit | 105bb74ddafe70e470de2d31acc1c0e9fc1eea10 (patch) | |
tree | 6ae38679b113732b104de57503ac4dad3b32ccc8 | |
parent | d22155135fe8e435ad6babaca00c84d98a7a7f3c (diff) |
1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
* init.c (open_console): Put this function inside [! SPLIT_INIT].
-rw-r--r-- | init/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |