diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1998-02-09 06:29:09 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1998-02-09 06:29:09 +0000 |
commit | 70337ea9a07ed61c143846a89d9adf090d0a945b (patch) | |
tree | d1622eacca2ba2894057da9b4cebe4c3e2c3764e | |
parent | 13655adbb1bda773e3c1d68a8a3fccfd866e2fa1 (diff) |
More missing type changes; pointed out by deraadt@OpenBSD.org
-rw-r--r-- | sys/compat/svr4/svr4_stream.c | 4 | ||||
-rw-r--r-- | sys/kern/sys_generic.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c index 7675a1af6a5..792f7fdf867 100644 --- a/sys/compat/svr4/svr4_stream.c +++ b/sys/compat/svr4/svr4_stream.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_stream.c,v 1.9 1997/09/11 10:48:13 deraadt Exp $ */ +/* $OpenBSD: svr4_stream.c,v 1.10 1998/02/09 06:29:08 tholo Exp $ */ /* $NetBSD: svr4_stream.c,v 1.19 1996/12/22 23:00:03 fvdl Exp $ */ /* @@ -262,7 +262,7 @@ clean_pipe(p, path) SCARG(&la, path) = stackgap_alloc(&sg, l); SCARG(&la, ub) = stackgap_alloc(&sg, sizeof(struct stat)); - if ((error = copyout((char *) path, SCARG(&la, path), l)) != 0) + if ((error = copyout((char *) path, (char *) SCARG(&la, path), l)) != 0) return error; if ((error = sys_lstat(p, &la, &retval)) != 0) diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c index afb0b22d2b3..1603e9e4595 100644 --- a/sys/kern/sys_generic.c +++ b/sys/kern/sys_generic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_generic.c,v 1.11 1997/11/06 05:58:20 csapuntz Exp $ */ +/* $OpenBSD: sys_generic.c,v 1.12 1998/02/09 06:29:07 tholo Exp $ */ /* $NetBSD: sys_generic.c,v 1.24 1996/03/29 00:25:32 cgd Exp $ */ /* @@ -527,7 +527,7 @@ sys_select(p, v, retval) register_t *retval; { register struct sys_select_args /* { - syscallarg(u_int) nd; + syscallarg(int) nd; syscallarg(fd_set *) in; syscallarg(fd_set *) ou; syscallarg(fd_set *) ex; |