summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-20 13:01:20 +0200
committerToomas Soome <tsoome@me.com>2019-04-23 22:14:36 +0300
commit483e494a59954f25ec067f2dee3cd94a269eaa08 (patch)
tree61a19370ab7b5ac4826a21756689595af4c7c839
parentdd328bf6d39366b8d7bde6a36114538fc14332dd (diff)
downloadillumos-joyent-483e494a59954f25ec067f2dee3cd94a269eaa08.tar.gz
10752 fcsm: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/io/fibre-channel/ulp/fcsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/fibre-channel/ulp/fcsm.c b/usr/src/uts/common/io/fibre-channel/ulp/fcsm.c
index ce6c77a117..9efc1cb337 100644
--- a/usr/src/uts/common/io/fibre-channel/ulp/fcsm.c
+++ b/usr/src/uts/common/io/fibre-channel/ulp/fcsm.c
@@ -430,7 +430,7 @@ fcsm_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
/* Create a minor node */
if (ddi_create_minor_node(fcsm_dip, "fcsm", S_IFCHR,
- NULL, DDI_PSEUDO, 0) == DDI_SUCCESS) {
+ 0, DDI_PSEUDO, 0) == DDI_SUCCESS) {
/* Announce presence of the device */
mutex_exit(&fcsm_global_mutex);
ddi_report_dev(dip);