From: David van Moolenbroek Date: Sat, 5 Sep 2009 12:51:00 +0000 (+0000) Subject: syslib: make sys_nice use field aliases X-Git-Tag: v3.1.5~157 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.named.html?a=commitdiff_plain;h=32b2758ba81433fb2ca6ec60e27a62ab979ad2b6;p=minix.git syslib: make sys_nice use field aliases --- diff --git a/lib/syslib/sys_nice.c b/lib/syslib/sys_nice.c index 5cab55e44..5e5bbe77f 100755 --- a/lib/syslib/sys_nice.c +++ b/lib/syslib/sys_nice.c @@ -7,7 +7,7 @@ PUBLIC int sys_nice(int proc, int prio) { message m; - m.m1_i1 = proc; - m.m1_i2 = prio; + m.PR_ENDPT = proc; + m.PR_PRIORITY = prio; return(_taskcall(SYSTASK, SYS_NICE, &m)); }