diff options
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r-- | sys/cam/cam_xpt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 3cd6a8b..592809f 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -936,7 +936,7 @@ xptdone(struct cam_periph *periph, union ccb *done_ccb) } static int -xptopen(dev_t dev, int flags, int fmt, struct thread *td) +xptopen(struct cdev *dev, int flags, int fmt, struct thread *td) { int unit; @@ -973,7 +973,7 @@ xptopen(dev_t dev, int flags, int fmt, struct thread *td) } static int -xptclose(dev_t dev, int flag, int fmt, struct thread *td) +xptclose(struct cdev *dev, int flag, int fmt, struct thread *td) { int unit; @@ -996,7 +996,7 @@ xptclose(dev_t dev, int flag, int fmt, struct thread *td) } static int -xptioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td) +xptioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td) { int unit, error; |