From 0bb14d0b8d6a7b36cf0bf445dbfebfe76ed6a592 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 30 Jan 2001 23:45:32 +0000 Subject: daemons/ 2001-01-17 Neal H Walfield * console-run.c (open_console): Conform to new fshelp_start_translator semantics. init/ 2001-01-17 Neal H Walfield * init.c (open_console): Conform to new fshelp_start_translator semantics. libfshelp/ 2001-01-17 Neal H Walfield * fshelp.h: Add two new parameters to fshelp_open_fn_t: a port to the new task and a cookie. Add a new parameter, cookie, to fshelp_start_translator and fshelp_start_translator_long that will be passed to fshelp_open_fn_t. * fetch-root.c (fshelp_fetch_root): Conform to new fshelp_start_translator_long semantics. * start-translator-long.c (service_fsys_startup): Likewise. (fshelp_start_translator_long): Likewise. * start-translator.c (fshelp_start_translator): Likewise. libtreefs/ Conform to new fshelp_start_translator semantics. trans/ 2001-01-17 Neal H Walfield * pump.c (start_pfinet): Conform to new fshelp_start_translator semantics. utils/ 2001-01-17 Neal H Walfield * mount.c (do_mount): Conform to new fshelp_start_translator semantics. * settrans.c (main): Conform to new fshelp_start_translator semantics therby allowing us to print the pid of the an active translator. --- daemons/ChangeLog | 5 +++++ daemons/console-run.c | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'daemons') diff --git a/daemons/ChangeLog b/daemons/ChangeLog index f93ca603..61e3f878 100644 --- a/daemons/ChangeLog +++ b/daemons/ChangeLog @@ -1,3 +1,8 @@ +2001-01-17 Neal H Walfield + + * console-run.c (open_console): Conform to new + fshelp_start_translator semantics. + 1999-09-23 Mark Kettenis * getty.c (main): Report an error if login_tty failed. diff --git a/daemons/console-run.c b/daemons/console-run.c index ccfd3874..0fc19bb4 100644 --- a/daemons/console-run.c +++ b/daemons/console-run.c @@ -1,5 +1,5 @@ /* Run a program on the console, trying hard to get the console open. - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -112,7 +112,8 @@ open_console (char **namep) 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) @@ -141,8 +142,8 @@ open_console (char **namep) /* 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); -- cgit v1.2.3