lib9p: fix typo

This commit is contained in:
cinap_lenrek 2020-03-07 15:20:07 +01:00
parent 8f64e44854
commit 022087cdcd

View file

@ -810,8 +810,8 @@ srv(Srv *srv)
fmtinstall('F', fcallfmt);
srv->spid = getpid();
memset(&s->sref, 0, sizeof(s->sref));
memset(&s->rref, 0, sizeof(s->rref));
memset(&srv->sref, 0, sizeof(srv->sref));
memset(&srv->rref, 0, sizeof(srv->rref));
if(srv->fpool == nil)
srv->fpool = allocfidpool(srv->destroyfid);