From 1a999cb3f943ae2eb7084cf88086bf704ca18b83 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 27 Sep 2002 20:03:05 +0000 Subject: [PATCH] Make it a tad easier to deal with struct inode in userland programs which fondle /dev/kmem by using "struct cdev *" instead of "dev_t". Requsted by: jake --- sys/ufs/ufs/inode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ufs/inode.h b/sys/ufs/ufs/inode.h index 94ec17937fa2..d71359ac8ea2 100644 --- a/sys/ufs/ufs/inode.h +++ b/sys/ufs/ufs/inode.h @@ -67,7 +67,7 @@ struct inode { struct ufsmount *i_ump;/* Ufsmount point associated with this inode. */ struct vnode *i_devvp;/* Vnode for block I/O. */ u_int32_t i_flag; /* flags, see below */ - dev_t i_dev; /* Device associated with the inode. */ + struct cdev *i_dev; /* Device associated with the inode. */ ino_t i_number; /* The identity of the inode. */ int i_effnlink; /* i_nlink when I/O completes */