summaryrefslogtreecommitdiff
path: root/emu/port/dev.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-12-18 09:44:28 +0000
committerCharles.Forsyth <devnull@localhost>2007-12-18 09:44:28 +0000
commit45a14cc6b60b02e58eb1b271508ccc2fa3c52b8f (patch)
tree91950c4ad9aa5a856283b93f701b3963fa891d46 /emu/port/dev.c
parentac53509e2be27b6223bb0396f49e9c0dd3d32a27 (diff)
20071218-0950
Diffstat (limited to 'emu/port/dev.c')
-rw-r--r--emu/port/dev.c4
1 files changed, 2 insertions, 2 deletions
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;