diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-12-15 03:41:16 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-12-15 03:41:16 +0000 |
commit | 6c7f63f240dff56f1ada33cfaf934275f999ca80 (patch) | |
tree | 4b9e1a6729e4e3ffade081bb0dcf704381ed58fb | |
parent | a2a2da67af72a3d7aa219c5ed8112b03a0baf54e (diff) |
fix build when DIAGNOSTIC is not defined
ok mikeb@
-rw-r--r-- | sys/dev/pv/xbf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/xbf.c b/sys/dev/pv/xbf.c index 9eee49e52bb..48626fddc08 100644 --- a/sys/dev/pv/xbf.c +++ b/sys/dev/pv/xbf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xbf.c,v 1.12 2016/12/14 11:39:30 mikeb Exp $ */ +/* $OpenBSD: xbf.c,v 1.13 2016/12/15 03:41:15 jsg Exp $ */ /* * Copyright (c) 2016 Mike Belopuhov @@ -335,9 +335,9 @@ xbf_io_get(void *xsc) void xbf_io_put(void *xsc, void *io) { +#ifdef DIAGNOSTIC struct xbf_softc *sc = xsc; -#ifdef DIAGNOSTIC if (sc != io) panic("xbf_io_put: unexpected io"); #endif |