From 022087cdcdd39e7904f6970b54152f4aa30fc071 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 7 Mar 2020 15:20:07 +0100 Subject: [PATCH] lib9p: fix typo --- sys/src/lib9p/srv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/lib9p/srv.c b/sys/src/lib9p/srv.c index 034364de0..25276d2ad 100644 --- a/sys/src/lib9p/srv.c +++ b/sys/src/lib9p/srv.c @@ -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);