From 5b8713be60064caec3d45f0ff583a48fe39a0fc8 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 21 Apr 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-04-21 --- port/sysproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/sysproc.c b/port/sysproc.c index 0869e68f7235594dc5e34efcd28d59c569de557c..ebc7be5d7f0ca8b74651179acebbe15d8d45f075 100644 --- a/port/sysproc.c +++ b/port/sysproc.c @@ -466,7 +466,7 @@ syssleep(ulong *arg) n = arg[0]; if(n <= 0) { - p->priority = 0; + up->priority = 0; sched(); return 0; }