summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_threads.c4
-rw-r--r--sys/kern/vfs_aio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_threads.c b/sys/kern/kern_threads.c
index 6c7bcf2..ba5b35d 100644
--- a/sys/kern/kern_threads.c
+++ b/sys/kern/kern_threads.c
@@ -46,7 +46,7 @@
* in Germany will I accept domestic beer. This code may or may not work
* and I certainly make no claims as to its fitness for *any* purpose.
*
- * $Id: kern_threads.c,v 1.12 1999/01/27 21:49:56 dillon Exp $
+ * $Id: kern_threads.c,v 1.13 1999/01/28 17:31:59 dillon Exp $
*/
#include <sys/param.h>
@@ -79,7 +79,7 @@ thr_sleep(struct proc *p, struct thr_sleep_args *uap) {
/*
* Get timespec struct
*/
- if ((error = copyin((c_caddr_t) uap->timeout, (caddr_t) &ts, sizeof ts)) != 0) {
+ if ((error = copyin(uap->timeout, &ts, sizeof(ts))) != 0) {
p->p_wakeup = 0;
return error;
}
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 5fa6a237..b6178df 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -13,7 +13,7 @@
* bad that happens because of using this software isn't the responsibility
* of the author. This software is distributed AS-IS.
*
- * $Id: vfs_aio.c,v 1.39 1999/01/28 00:57:47 dillon Exp $
+ * $Id: vfs_aio.c,v 1.40 1999/01/28 17:32:00 dillon Exp $
*/
/*
@@ -1472,7 +1472,7 @@ aio_suspend(struct proc *p, struct aio_suspend_args *uap)
/*
* Get timespec struct
*/
- if ((error = copyin((c_caddr_t) uap->timeout, (caddr_t) &ts, sizeof ts)) != 0) {
+ if ((error = copyin(uap->timeout, &ts, sizeof(ts))) != 0) {
return error;
}
OpenPOWER on IntegriCloud