aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2016-07-28 12:25:58 +0000
committerAlexander Motin <mav@FreeBSD.org>2016-07-28 12:25:58 +0000
commit8709930cfcb6d815efe530e60c658fa738c0e1b1 (patch)
tree61df7f92aa27961567e090000b2744b96f83820f /sys/dev/ntb
parent5590eb985e92e0d7abeb5f520c1fe89cfd1bf812 (diff)
downloadsrc-8709930cfcb6d815efe530e60c658fa738c0e1b1.tar.gz
src-8709930cfcb6d815efe530e60c658fa738c0e1b1.zip
Fix r303429 build with invariants.
Notes
Notes: svn path=/head/; revision=303437
Diffstat (limited to 'sys/dev/ntb')
-rw-r--r--sys/dev/ntb/ntb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ntb/ntb.c b/sys/dev/ntb/ntb.c
index 13461e6ce574..d36046ab19db 100644
--- a/sys/dev/ntb/ntb.c
+++ b/sys/dev/ntb/ntb.c
@@ -266,7 +266,7 @@ ntb_get_ctx(device_t ntb, const struct ntb_ctx_ops **ctx_ops)
{
struct ntb_child *nc = device_get_ivars(ntb);
- KASSERT(nc->ntb_ctx != NULL && nc->ctx_ops != NULL, ("bogus"));
+ KASSERT(nc->ctx != NULL && nc->ctx_ops != NULL, ("bogus"));
if (ctx_ops != NULL)
*ctx_ops = nc->ctx_ops;
return (nc->ctx);