From 45a14cc6b60b02e58eb1b271508ccc2fa3c52b8f Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Tue, 18 Dec 2007 09:44:28 +0000 Subject: 20071218-0950 --- emu/port/dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emu/port/dev.c') diff --git a/emu/port/dev.c b/emu/port/dev.c index 5df62ecc..ee4053aa 100644 --- a/emu/port/dev.c +++ b/emu/port/dev.c @@ -102,7 +102,6 @@ devclone(Chan *c) panic("clone of open file type %C\n", devtab[c->type]->dc); nc = newchan(); - nc->type = c->type; nc->dev = c->dev; nc->mode = c->mode; @@ -119,7 +118,8 @@ devclone(Chan *c) Walkqid* devwalk(Chan *c, Chan *nc, char **name, int nname, Dirtab *tab, int ntab, Devgen *gen) { - int i, j, alloc; + int i, j; + volatile int alloc; Walkqid *wq; char *n; Dir dir; -- cgit v1.2.3