diff options
author | bde <bde@FreeBSD.org> | 1999-01-29 08:29:05 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-01-29 08:29:05 +0000 |
commit | cf8e8cebcc0d1caa79eb2e92784961cfe301f5bb (patch) | |
tree | c63d1b3353b2fcece19d5bc7ffbac8511b96a66e /sys/kern/vfs_aio.c | |
parent | c9d851cd134f45e297e380c497f352c0dc18bc0c (diff) | |
download | FreeBSD-src-cf8e8cebcc0d1caa79eb2e92784961cfe301f5bb.zip FreeBSD-src-cf8e8cebcc0d1caa79eb2e92784961cfe301f5bb.tar.gz |
Removed bogus casts to c_caddr_t. This is part of terminating
c_caddr_t with extreme prejudice. Here the original casts to
caddr_t were to support K&R compilers (or missing prototypes),
but the relevant source files require an ANSI compiler.
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |