aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam/shell.c')
-rw-r--r--src/cmd/sam/shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/sam/shell.c b/src/cmd/sam/shell.c
index 2cac31bc..ee30e5d0 100644
--- a/src/cmd/sam/shell.c
+++ b/src/cmd/sam/shell.c
@@ -13,7 +13,8 @@ plan9(File *f, int type, String *s, int nest)
{
long l;
int m;
- int pid, fd;
+ int volatile pid;
+ int fd;
int retcode;
int pipe1[2], pipe2[2];