diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-18 23:05:54 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-03-22 20:20:05 +0200 |
commit | 6efbc8a970529717f3354109b91e2916527c0286 (patch) | |
tree | 2ce4be99ee0a2104a8c1cc04432da6f3b5faf57f | |
parent | 776eb96f94b73b997414a501a97c83ac35469fa4 (diff) | |
download | illumos-joyent-6efbc8a970529717f3354109b91e2916527c0286.tar.gz |
10575 tem: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
Reviewed by: Gergő Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/io/tem.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |