From ddae10c1f9bd44de0b1441c5d8c2e5dc19db21fb Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sun, 11 Apr 1993 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1993-04-11 --- port/auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/port/auth.c b/port/auth.c index 7b4a6e086c913df50eb5777291af396b448bc771..c5e7ec738fa826a85cd91b132474a5cbf1014daa 100644 --- a/port/auth.c +++ b/port/auth.c @@ -149,7 +149,7 @@ sysfsession(ulong *arg) n = (*devtab[c->type].read)(c, buf, sizeof buf, 0); poperror(); if(convM2S(buf, &f, n) == 0){ - unlock(s); + unlock(&s->send); error(Emountrpc); } switch(f.type){ @@ -159,10 +159,10 @@ sysfsession(ulong *arg) memmove(s->authdom, f.authdom, DOMLEN); break; case Rerror: - unlock(s); + unlock(&s->send); error(f.ename); default: - unlock(s); + unlock(&s->send); error(Emountrpc); } }