diff --git a/sys/src/cmd/aux/realemu/main.c b/sys/src/cmd/aux/realemu/main.c index 7283dcbe6..a6b44e136 100644 --- a/sys/src/cmd/aux/realemu/main.c +++ b/sys/src/cmd/aux/realemu/main.c @@ -736,6 +736,12 @@ fsread(Req *r) } } +static void +fsstart(Srv*) +{ + proccreate(cpuproc, nil, 16*1024); +} + static void fsend(Srv*) { @@ -743,6 +749,7 @@ fsend(Srv*) } static Srv fs = { + .start= fsstart, .attach= fsattach, .walk1= fswalk1, .open= fsopen, @@ -791,6 +798,5 @@ threadmain(int argc, char *argv[]) reqchan = chancreate(sizeof(Req*), 8); flushchan = chancreate(sizeof(Req*), 8); - procrfork(cpuproc, nil, 16*1024, RFNAMEG|RFNOTEG); threadpostmountsrv(&fs, srv, mnt, MBEFORE); }