From 7e12ceb3ebc63aeb71e91b496032ca22ca55f660 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Fri, 18 Jan 2019 10:38:01 +0200 Subject: 10376 uts: NULL pointer issues in genunix Reviewed by: Andy Fiddaman Reviewed by: Andy Stormont Reviewed by: John Levon Approved by: Robert Mustacchi --- usr/src/uts/common/os/dacf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr/src/uts/common/os/dacf.c') 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 */ -- cgit v1.2.3