summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-05 20:25:14 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-05 20:25:14 +0000
commitc8f40b0c903a17bac6808810b4a05aecb95e37c1 (patch)
treee90a7958beef058f4004481e6607b1d435bd9cc7 /init
parent8de4c044bb40ee209b8224239bea4fe46d080445 (diff)
(launch_single_user): Fix typo. Deleted variables foobiebletchcount,
foobiebletch, and termtask.
Diffstat (limited to 'init')
-rw-r--r--init/init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index 2dab576b..8b49cbb3 100644
--- a/init/init.c
+++ b/init/init.c
@@ -619,10 +619,7 @@ launch_single_user ()
char terminal[] = "/hurd/term\0/tmp/console\0device\0console";
mach_port_t term, shelltask;
char *termname;
- task_t termtask;
int fd;
- int foobiebletch[TASK_BASIC_INFO_COUNT];
- int foobiebletchcount = TASK_BASIC_INFO_COUNT;
struct stat st;
error_t err;
@@ -655,7 +652,7 @@ launch_single_user ()
perror (termname);
goto fail;
}
- errno = file_set_translator (term, FS_TRANS_SET, 0,
+ errno = file_set_translator (term, FS_TRANS_SET, 0, 0,
terminal, sizeof terminal,
MACH_PORT_NULL, MACH_MSG_TYPE_COPY_SEND);
if (errno)