summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-01-19 20:16:27 +0000
committerguenther <guenther@openbsd.org>2015-01-19 20:16:27 +0000
commit09ffcd10ca923b2e63e6efcd4e439e3167077a21 (patch)
treea0ba27ccab0c9d96ce01820007c55b90eed93bb9
parentadapt kex to sshbuf and struct ssh; ok djm@ (diff)
downloadwireguard-openbsd-09ffcd10ca923b2e63e6efcd4e439e3167077a21.tar.xz
wireguard-openbsd-09ffcd10ca923b2e63e6efcd4e439e3167077a21.zip
Oops, missed the new #include when manually applying the diff from
Helg (xx404 (at) msn.com)
-rw-r--r--sys/kern/vfs_vops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/vfs_vops.c b/sys/kern/vfs_vops.c
index fa23acebc03..53dde56a07e 100644
--- a/sys/kern/vfs_vops.c
+++ b/sys/kern/vfs_vops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_vops.c,v 1.10 2015/01/19 20:13:03 guenther Exp $ */
+/* $OpenBSD: vfs_vops.c,v 1.11 2015/01/19 20:16:27 guenther Exp $ */
/*
* Copyright (c) 2010 Thordur I. Bjornsson <thib@openbsd.org>
*
@@ -48,6 +48,8 @@
#include <sys/unistd.h>
#ifdef VFSLCKDEBUG
+#include <sys/systm.h> /* for panic() */
+
#define ASSERT_VP_ISLOCKED(vp) do { \
if (((vp)->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(vp)) { \
VOP_PRINT(vp); \