summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/ChangeLog5
-rw-r--r--init/init.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/init/ChangeLog b/init/ChangeLog
index 1d09e488..dfef84ae 100644
--- a/init/ChangeLog
+++ b/init/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-17 Neal H Walfield <neal@cs.uml.edu>
+
+ * init.c (open_console): Conform to new fshelp_start_translator
+ semantics.
+
2000-12-21 Marcus Brinkmann <marcus@gnu.org>
* init.c (process_rc_script): If malloc fails, return ENOMEM.
diff --git a/init/init.c b/init/init.c
index 986ba1e4..a9cbafc0 100644
--- a/init/init.c
+++ b/init/init.c
@@ -800,7 +800,8 @@ open_console ()
error_t open_node (int flags,
mach_port_t *underlying,
- mach_msg_type_name_t *underlying_type)
+ mach_msg_type_name_t *underlying_type,
+ task_t task, void *cookie)
{
term = file_name_lookup (termname, flags | O_CREAT|O_NOTRANS, 0666);
if (term == MACH_PORT_NULL)
@@ -837,8 +838,8 @@ open_console ()
/* The callback to start_translator opens TERM as a side effect. */
errno =
- fshelp_start_translator (open_node, terminal, terminal, argz_len, 3000,
- &control);
+ fshelp_start_translator (open_node, NULL, terminal, terminal,
+ argz_len, 3000, &control);
if (errno)
{
error (0, errno, "%s", terminal);