summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ffs/ffs_alloc.c')
-rw-r--r--sys/ufs/ffs/ffs_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index 3974be4..a48ea78 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -1690,7 +1690,7 @@ ffs_blkfree(fs, devvp, bno, size, inum)
ufs2_daddr_t cgblkno;
int i, cg, blk, frags, bbase;
u_int8_t *blksfree;
- dev_t dev;
+ struct cdev *dev;
cg = dtog(fs, bno);
if (devvp->v_type != VCHR) {
@@ -1886,7 +1886,7 @@ ffs_freefile(fs, devvp, ino, mode)
ufs2_daddr_t cgbno;
int error, cg;
u_int8_t *inosused;
- dev_t dev;
+ struct cdev *dev;
cg = ino_to_cg(fs, ino);
if (devvp->v_type != VCHR) {
OpenPOWER on IntegriCloud