From 6efbc8a970529717f3354109b91e2916527c0286 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Fri, 18 Jan 2019 23:05:54 +0200 Subject: 10575 tem: NULL pointer errors Reviewed by: Sebastian Wiedenroth Reviewed by: Gergő Doma Approved by: Dan McDonald MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/uts/common/io/tem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/uts/common/io/tem.c') diff --git a/usr/src/uts/common/io/tem.c b/usr/src/uts/common/io/tem.c index eeda8f375f..b00908c683 100644 --- a/usr/src/uts/common/io/tem.c +++ b/usr/src/uts/common/io/tem.c @@ -376,7 +376,7 @@ tems_failed(cred_t *credp, boolean_t finish_ioctl) (void) ldi_ioctl(tems.ts_hdl, VIS_DEVFINI, 0, FWRITE|FKIOCTL, credp, &lyr_rval); - (void) ldi_close(tems.ts_hdl, NULL, credp); + (void) ldi_close(tems.ts_hdl, 0, credp); tems.ts_hdl = NULL; return (ENXIO); } -- cgit v1.2.3