aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/code.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/code.c')
-rw-r--r--sys/cmd/rc/code.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cmd/rc/code.c b/sys/cmd/rc/code.c
index 8dec021..d4dd6e1 100644
--- a/sys/cmd/rc/code.c
+++ b/sys/cmd/rc/code.c
@@ -50,7 +50,7 @@ walk(Tree *node)
switch(node->type){
default:
- print(errio, "bad type %d in interpreter walk\n", node->type);
+ print(shell.err, "bad type %d in interpreter walk\n", node->type);
break;
case '$':
@@ -152,7 +152,7 @@ copycode(Code *c)
int
compile(Tree *node)
{
- flush(errio);
+ flush(shell.err);
//print(errio, "%t\n", node);
interpreter.i = 0;