summaryrefslogtreecommitdiff
path: root/sys/ntfs/ntfs_ihash.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-08-12 04:05:04 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-08-12 04:05:04 +0000
commita9bd431f6a5f05e49d04975e60951c347a0875c8 (patch)
treee5a5580ffa84fb260f067bbc3ee128e40c5b7ab5 /sys/ntfs/ntfs_ihash.c
parent9628420868d694a31d68092cb5ef07b851f22f74 (diff)
clean up some macro obfuscation and assorted styling problems.
fix a bonus off by one bug. ok matthew
Diffstat (limited to 'sys/ntfs/ntfs_ihash.c')
-rw-r--r--sys/ntfs/ntfs_ihash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ntfs/ntfs_ihash.c b/sys/ntfs/ntfs_ihash.c
index de2f7575875..db7be3f0173 100644
--- a/sys/ntfs/ntfs_ihash.c
+++ b/sys/ntfs/ntfs_ihash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_ihash.c,v 1.7 2010/04/23 19:32:57 oga Exp $ */
+/* $OpenBSD: ntfs_ihash.c,v 1.8 2010/08/12 04:05:03 tedu Exp $ */
/* $NetBSD: ntfs_ihash.c,v 1.1 2002/12/23 17:38:32 jdolecek Exp $ */
/*
@@ -64,7 +64,7 @@ struct rwlock ntfs_hashlock = RWLOCK_INITIALIZER("ntfs_nthashlock");
void
ntfs_nthashinit()
{
- ntfs_nthashtbl = HASHINIT(desiredvnodes, M_NTFSNTHASH, M_WAITOK,
+ ntfs_nthashtbl = hashinit(desiredvnodes, M_NTFSNTHASH, M_WAITOK,
&ntfs_nthash);
}