summaryrefslogtreecommitdiff
path: root/emu/port/devsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/port/devsrv.c')
-rw-r--r--emu/port/devsrv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/emu/port/devsrv.c b/emu/port/devsrv.c
index f655bf96..fd252e1e 100644
--- a/emu/port/devsrv.c
+++ b/emu/port/devsrv.c
@@ -662,7 +662,7 @@ srvf2c(char *dir, char *file, Sys_FileIO *io)
error(Efilename);
c.c = namec(dir, Aaccess, 0, 0);
- if((c.c->qid.type&QTDIR) == 0 || devtab[c.c->type]->dc != 's')
+ if((c.c->qid.type&QTDIR) == 0 || c.c->dev->dc != 's')
error("directory not a srv device");
s = c.c->aux;
@@ -709,7 +709,9 @@ Dev srvdevtab = {
's',
"srv",
+ devreset,
srvinit,
+ devshutdown,
srvattach,
srvwalk,
srvstat,