aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/main.c')
-rw-r--r--sys/cmd/rc/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/cmd/rc/main.c b/sys/cmd/rc/main.c
index d1bbd06..557030a 100644
--- a/sys/cmd/rc/main.c
+++ b/sys/cmd/rc/main.c
@@ -8,9 +8,8 @@
// -----------------------------------------------------------------------
// globals
-Io *errio = nil;
-Thread *proc = nil;
-Shell shell = { 0 };
+Thread *runner = nil;
+Shell shell = { 0 };
// -----------------------------------------------------------------------
// functions
@@ -57,7 +56,7 @@ main(int argc, char *argv[])
Code bootstrap[32];
char num[12];
- errio = openfd(2);
+ shell.err = openfd(2);
initenv();
initpath();