Date: Thu, 28 Jul 2016 12:25:58 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r303437 - head/sys/dev/ntb Message-ID: <201607281225.u6SCPwMb041779@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Thu Jul 28 12:25:58 2016 New Revision: 303437 URL: https://svnweb.freebsd.org/changeset/base/303437 Log: Fix r303429 build with invariants. Modified: head/sys/dev/ntb/ntb.c Modified: head/sys/dev/ntb/ntb.c ============================================================================== --- head/sys/dev/ntb/ntb.c Thu Jul 28 12:22:34 2016 (r303436) +++ head/sys/dev/ntb/ntb.c Thu Jul 28 12:25:58 2016 (r303437) @@ -266,7 +266,7 @@ ntb_get_ctx(device_t ntb, const struct n { 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607281225.u6SCPwMb041779>