diff options
Diffstat (limited to 'src/cmd/rc')
-rw-r--r-- | src/cmd/rc/plan9ish.c | 2 | ||||
-rw-r--r-- | src/cmd/rc/rc.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/rc/plan9ish.c b/src/cmd/rc/plan9ish.c index 6e9d59f1..eb93a4f5 100644 --- a/src/cmd/rc/plan9ish.c +++ b/src/cmd/rc/plan9ish.c @@ -81,7 +81,7 @@ void Vinit(void){ for(s=*env;*s && *s!='(' && *s!='=';s++); switch(*s){ case '\0': - pfmt(err, "environment %q?\n", *env); + pfmt(err, "rc: odd environment %q?\n", *env); break; case '=': *s='\0'; diff --git a/src/cmd/rc/rc.h b/src/cmd/rc/rc.h index c81b6280..7df5fea0 100644 --- a/src/cmd/rc/rc.h +++ b/src/cmd/rc/rc.h @@ -26,6 +26,9 @@ #include "x.tab.h" #endif #endif + +#undef pipe /* so that /dev/fd works */ + typedef struct tree tree; typedef struct word word; typedef struct io io; |