summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4u/mpxu/io/tsalarm.c
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
committerJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
commit5b2acc0949194447bba6e45a0fa44d0b5f42f208 (patch)
tree7ea9eb87bc68fee386dd39035ce715e87a0e673c /usr/src/uts/sun4u/mpxu/io/tsalarm.c
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
Diffstat (limited to 'usr/src/uts/sun4u/mpxu/io/tsalarm.c')
-rw-r--r--usr/src/uts/sun4u/mpxu/io/tsalarm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/sun4u/mpxu/io/tsalarm.c b/usr/src/uts/sun4u/mpxu/io/tsalarm.c
index 7c56f1d63f..819c44a0a6 100644
--- a/usr/src/uts/sun4u/mpxu/io/tsalarm.c
+++ b/usr/src/uts/sun4u/mpxu/io/tsalarm.c
@@ -211,7 +211,7 @@ tsalarm_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
* the device's softc, is used to direct peculiar behavior.
*/
if (ddi_create_minor_node(dip, "lom", S_IFCHR, 0,
- DDI_PSEUDO, NULL) == DDI_FAILURE)
+ DDI_PSEUDO, 0) == DDI_FAILURE)
goto attach_failed;
ddi_report_dev(dip);
@@ -288,7 +288,7 @@ tsalarm_close(dev_t dev, int flag, int otyp, cred_t *credp)
/* ARGSUSED */
static int
tsalarm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
- cred_t *credp, int *rvalp)
+ cred_t *credp, int *rvalp)
{
int inst = getminor(dev);
struct tsalarm_softc *softc;