diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2013-05-01 14:43:10 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2013-05-01 14:43:10 +0000 |
commit | 99e5da00b2dc04a474ce7552941e6a95a97fe325 (patch) | |
tree | 128cb65ff042a6a98c8ba5365aeda0042a96972a /sys | |
parent | 8ed0cf89a7e70587a93e601af04f6662dd0959a9 (diff) |
Remove useless cast of ROOT_INFO to ino_t. OK otto@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ufs/ufs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_vfsops.c b/sys/ufs/ufs/ufs_vfsops.c index 41661d0d699..da70307ed23 100644 --- a/sys/ufs/ufs/ufs_vfsops.c +++ b/sys/ufs/ufs/ufs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_vfsops.c,v 1.16 2011/07/04 20:35:35 deraadt Exp $ */ +/* $OpenBSD: ufs_vfsops.c,v 1.17 2013/05/01 14:43:09 millert Exp $ */ /* $NetBSD: ufs_vfsops.c,v 1.4 1996/02/09 22:36:12 christos Exp $ */ /* @@ -75,7 +75,7 @@ ufs_root(struct mount *mp, struct vnode **vpp) struct vnode *nvp; int error; - if ((error = VFS_VGET(mp, (ino_t)ROOTINO, &nvp)) != 0) + if ((error = VFS_VGET(mp, ROOTINO, &nvp)) != 0) return (error); *vpp = nvp; return (0); |