Get rid of caddr_t.
This commit is contained in:
parent
f2c3715aa7
commit
7b726be320
@ -127,7 +127,7 @@ typedef int (*pfs_vis_t)(PFS_VIS_ARGS);
|
||||
*/
|
||||
#define PFS_IOCTL_ARGS \
|
||||
struct thread *td, struct proc *p, struct pfs_node *pn, \
|
||||
unsigned long cmd, caddr_t data
|
||||
unsigned long cmd, void *data
|
||||
#define PFS_IOCTL_PROTO(name) \
|
||||
int name(PFS_IOCTL_ARGS);
|
||||
typedef int (*pfs_ioctl_t)(PFS_IOCTL_ARGS);
|
||||
|
@ -652,7 +652,7 @@ pfs_readdir(struct vop_readdir_args *va)
|
||||
panic("%s has unexpected node type: %d", pn->pn_name, pn->pn_type);
|
||||
}
|
||||
PFS_TRACE((entry.d_name));
|
||||
if ((error = uiomove((caddr_t)&entry, PFS_DELEN, uio))) {
|
||||
if ((error = uiomove(&entry, PFS_DELEN, uio))) {
|
||||
sx_sunlock(&allproc_lock);
|
||||
PFS_RETURN (error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user