summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/dacf.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-18 10:38:01 +0200
committerToomas Soome <tsoome@me.com>2019-02-20 22:08:00 +0200
commit7e12ceb3ebc63aeb71e91b496032ca22ca55f660 (patch)
treea720628c8eef67512aba873033fc352faac80c8d /usr/src/uts/common/os/dacf.c
parent7e897d1fc847b22dc338da9a5a59dae0cd8765de (diff)
downloadillumos-joyent-7e12ceb3ebc63aeb71e91b496032ca22ca55f660.tar.gz
10376 uts: NULL pointer issues in genunix
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/uts/common/os/dacf.c')
-rw-r--r--usr/src/uts/common/os/dacf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/uts/common/os/dacf.c b/usr/src/uts/common/os/dacf.c
index 1ab2afa986..8d4cd486d8 100644
--- a/usr/src/uts/common/os/dacf.c
+++ b/usr/src/uts/common/os/dacf.c
@@ -23,8 +23,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* DACF: device autoconfiguration support
*
@@ -141,7 +139,7 @@ static dacf_ds_t dacf_devspecs[] = {
{ "minor-nodetype", DACF_DS_MIN_NT },
{ "driver-minorname", DACF_DS_DRV_MNAME },
{ "device-path", DACF_DS_DEV_PATH },
- { NULL, NULL },
+ { NULL, DACF_DS_ERROR },
};
mod_hash_t *posta_mntype, *posta_mname, *posta_devname; /* post-attach */