diff options
author | Alexander Motin <mav@FreeBSD.org> | 2016-07-28 12:25:58 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2016-07-28 12:25:58 +0000 |
commit | 8709930cfcb6d815efe530e60c658fa738c0e1b1 (patch) | |
tree | 61df7f92aa27961567e090000b2744b96f83820f /sys/dev/ntb | |
parent | 5590eb985e92e0d7abeb5f520c1fe89cfd1bf812 (diff) | |
download | src-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.c | 2 |
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); |