From 40d04a26a0c8aa81a310ec478f0c12db19691ffc Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 15 Mar 2005 10:01:14 +0000 Subject: [PATCH] Fix typo: pointers are not boolean in style(9). --- sys/fs/hpfs/hpfs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c index e3f24e919dcc..c14fa4b3a76d 100644 --- a/sys/fs/hpfs/hpfs_vfsops.c +++ b/sys/fs/hpfs/hpfs_vfsops.c @@ -514,7 +514,7 @@ hpfs_vget( hp->h_devvp = hpmp->hpm_devvp; error = vfs_hash_insert(vp, ino, flags, curthread, vpp); - if (error || *vpp) { + if (error || *vpp != NULL) { vput(vp); return (error); }