summaryrefslogtreecommitdiffstats
path: root/sys/dev/diskmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/diskmap.c')
-rw-r--r--sys/dev/diskmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/diskmap.c b/sys/dev/diskmap.c
index d17485f35a1..d99591e1857 100644
--- a/sys/dev/diskmap.c
+++ b/sys/dev/diskmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskmap.c,v 1.13 2015/11/20 16:06:53 deraadt Exp $ */
+/* $OpenBSD: diskmap.c,v 1.14 2016/03/19 12:04:15 natano Exp $ */
/*
* Copyright (c) 2009, 2010 Joel Sing <jsing@openbsd.org>
@@ -116,7 +116,7 @@ diskmapioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
fp->f_rbytes = 0;
fp->f_wbytes = 0;
- VOP_UNLOCK(vp, 0, p);
+ VOP_UNLOCK(vp, p);
FRELE(fp, p);
fdpunlock(fdp);