From: Jorrit Herder Date: Thu, 21 Jul 2005 18:37:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.0~574 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/tz-art.htm?a=commitdiff_plain;h=e2b05e4f550c0849c68909bfad8f0ed53e19b678;p=minix.git *** empty log message *** --- diff --git a/lib/syslib/sys_memset.c b/lib/syslib/sys_memset.c index 3386c0e08..c1c98ab11 100644 --- a/lib/syslib/sys_memset.c +++ b/lib/syslib/sys_memset.c @@ -7,9 +7,9 @@ PUBLIC int sys_memset(char c, phys_bytes base, phys_bytes bytes) if (bytes == 0L) return(OK); - mess.MEM_CHAR = c; mess.MEM_PTR = (char *) base; mess.MEM_COUNT = bytes; + mess.MEM_PATTERN = c; return(_taskcall(SYSTASK, SYS_MEMSET, &mess)); } diff --git a/lib/syslib/sys_svrctl.c b/lib/syslib/sys_svrctl.c index 7fa2a1d9f..16b1bc667 100644 --- a/lib/syslib/sys_svrctl.c +++ b/lib/syslib/sys_svrctl.c @@ -9,5 +9,5 @@ int sys_svrctl(int proc, int request, int priv, vir_bytes argp) m.CTL_MM_PRIV = priv; m.CTL_ARG_PTR = (char *) argp; - return _taskcall(SYSTASK, SYS_SVRCTL, &m); + return _taskcall(SYSTASK, SYS_PRIVCTL, &m); } diff --git a/lib/sysutil/kputc.c b/lib/sysutil/kputc.c index 242a4b22b..708579819 100644 --- a/lib/sysutil/kputc.c +++ b/lib/sysutil/kputc.c @@ -5,9 +5,8 @@ * reviewed at a later time. * * This routine can only be used by servers and device drivers. The kernel - * must define its own kputc(). Note that the IS also defines its own kputc() - * to directly call the TTY instead of the kernel, because it does not want - * to pollute the kernel message buffer with its debug dumps. + * must define its own kputc(). Note that the log driver also defines its own + * kputc() to directly call the TTY instead of going through this library. */ #include "sysutil.h"