summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2013-05-01 14:43:09 +0000
committermillert <millert@openbsd.org>2013-05-01 14:43:09 +0000
commita8c1cc5dc824960553c97cc533678e89ea1eee71 (patch)
tree6e3042dcef1bdd9a5754efd7a4114ad8d7f06233
parentMay 01* update currency exchange rates; (diff)
downloadwireguard-openbsd-a8c1cc5dc824960553c97cc533678e89ea1eee71.tar.xz
wireguard-openbsd-a8c1cc5dc824960553c97cc533678e89ea1eee71.zip
Remove useless cast of ROOT_INFO to ino_t. OK otto@
-rw-r--r--sys/ufs/ufs/ufs_vfsops.c4
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);