-/* $OpenBSD: subr_prof.c,v 1.4 1996/04/21 22:27:21 deraadt Exp $ */
+/* $OpenBSD: subr_prof.c,v 1.5 1996/04/28 00:26:46 tholo Exp $ */
/* $NetBSD: subr_prof.c,v 1.11 1996/03/17 02:44:40 pk Exp $ */
/*-
register_t *retval;
{
register struct sys_profil_args /* {
- syscallarg(caddr_t) samples;
+ syscallarg(char *) samples;
syscallarg(u_int) size;
syscallarg(u_int) offset;
syscallarg(u_int) scale;
s = splstatclock();
upp->pr_off = SCARG(uap, offset);
upp->pr_scale = SCARG(uap, scale);
- upp->pr_base = SCARG(uap, samples);
+ upp->pr_base = (caddr_t)SCARG(uap, samples);
upp->pr_size = SCARG(uap, size);
startprofclock(p);
splx(s);
- $OpenBSD: syscalls.master,v 1.6 1996/04/19 16:09:07 niklas Exp $
+ $OpenBSD: syscalls.master,v 1.7 1996/04/28 00:26:47 tholo Exp $
; $NetBSD: syscalls.master,v 1.31 1996/02/27 04:20:41 jonathan Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
41 STD { int sys_dup(u_int fd); }
42 STD { int sys_pipe(void); }
43 STD { gid_t sys_getegid(void); }
-44 STD { int sys_profil(caddr_t samples, size_t size, \
+44 STD { int sys_profil(char *samples, size_t size, \
u_long offset, u_int scale); }
#ifdef KTRACE
45 STD { int sys_ktrace(char *fname, int ops, int facs, \
};
struct sys_profil_args {
- syscallarg(caddr_t) samples;
+ syscallarg(char *) samples;
syscallarg(size_t) size;
syscallarg(u_long) offset;
syscallarg(u_int) scale;