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));
}
m.CTL_MM_PRIV = priv;
m.CTL_ARG_PTR = (char *) argp;
- return _taskcall(SYSTASK, SYS_SVRCTL, &m);
+ return _taskcall(SYSTASK, SYS_PRIVCTL, &m);
}
* 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"