diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-09-20 22:54:30 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-09-20 22:54:30 +0000 |
commit | a4c1337e1f0c69a9e7922f1b9d2e22d276002236 (patch) | |
tree | 54bd7814f3211fdab315e8e181e20d2af1bf4aa5 /sys/ufs | |
parent | 57e915a6bf2be96f50651389159d1450f2cb400e (diff) |
Use void * where void * is meant, spotted by tedu@
No binary change
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index e60d89d51d6..5777ac10ce9 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_inode.c,v 1.45 2006/09/20 13:43:47 pedro Exp $ */ +/* $OpenBSD: ffs_inode.c,v 1.46 2006/09/20 22:54:29 pedro Exp $ */ /* $NetBSD: ffs_inode.c,v 1.10 1996/05/11 18:27:19 mycroft Exp $ */ /* @@ -472,7 +472,7 @@ ffs_indirtrunc(struct inode *ip, daddr_t lbn, daddr_t dbn, daddr_t lastbn, struct buf *bp; struct fs *fs = ip->i_fs; struct vnode *vp; - caddr_t copy = NULL; + void *copy = NULL; daddr_t nb, nlbn, last; long blkcount, factor; int nblocks, blocksreleased = 0; @@ -527,7 +527,7 @@ ffs_indirtrunc(struct inode *ip, daddr_t lbn, daddr_t dbn, daddr_t lastbn, bap1 = (ufs1_daddr_t *) bp->b_data; if (lastbn != -1) { - MALLOC(copy, caddr_t, fs->fs_bsize, M_TEMP, M_WAITOK); + MALLOC(copy, void *, fs->fs_bsize, M_TEMP, M_WAITOK); bcopy(bp->b_data, copy, (u_int) fs->fs_bsize); for (i = last + 1; i < NINDIR(fs); i++) |