diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-18 20:49:31 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-04-05 08:51:17 +0300 |
commit | 1adf40f76cd8af7d925c77df418fff242965788a (patch) | |
tree | cc2ac519c1b41d79093541b69ca5005447342224 | |
parent | a4ccb493d6d57fefdf4995850d469f16451094dd (diff) | |
download | illumos-joyent-1adf40f76cd8af7d925c77df418fff242965788a.tar.gz |
10647 st: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/io/scsi/targets/st.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/scsi/targets/st.c b/usr/src/uts/common/io/scsi/targets/st.c index 36768a9bde..545dd678f4 100644 --- a/usr/src/uts/common/io/scsi/targets/st.c +++ b/usr/src/uts/common/io/scsi/targets/st.c @@ -1144,7 +1144,7 @@ st_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) minor |= MTMINOR(instance); if (ddi_create_minor_node(devi, name, S_IFCHR, minor, - DDI_NT_TAPE, NULL) == DDI_SUCCESS) { + DDI_NT_TAPE, 0) == DDI_SUCCESS) { continue; } |