summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4/io/tod.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sun4/io/tod.c')
-rw-r--r--usr/src/uts/sun4/io/tod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/sun4/io/tod.c b/usr/src/uts/sun4/io/tod.c
index 7d85f65fcf..07a8b1783b 100644
--- a/usr/src/uts/sun4/io/tod.c
+++ b/usr/src/uts/sun4/io/tod.c
@@ -192,7 +192,7 @@ tod_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
*/
(void) sprintf(name, "tod%d", inst);
if (ddi_create_minor_node(dip, name, S_IFCHR, inst,
- DDI_PSEUDO, NULL) == DDI_FAILURE)
+ DDI_PSEUDO, 0) == DDI_FAILURE)
goto attach_failed;
/*