summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/ramdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/ramdisk.c')
-rw-r--r--usr/src/uts/common/io/ramdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ramdisk.c b/usr/src/uts/common/io/ramdisk.c
index 78fb849256..a7a568b77c 100644
--- a/usr/src/uts/common/io/ramdisk.c
+++ b/usr/src/uts/common/io/ramdisk.c
@@ -824,7 +824,7 @@ rd_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
rsp->rd_dip = dip;
if (ddi_create_minor_node(dip, RD_CTL_NODE,
- S_IFCHR, 0, DDI_PSEUDO, NULL) == DDI_FAILURE) {
+ S_IFCHR, 0, DDI_PSEUDO, 0) == DDI_FAILURE) {
goto attach_failed;
}
} else {