summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fm
diff options
context:
space:
mode:
authortimh <none@none>2006-02-25 17:05:00 -0800
committertimh <none@none>2006-02-25 17:05:00 -0800
commitb6c60aa36ecfa580eac0ad61b2b4b327ee2a9b34 (patch)
tree9258f8b43c1c1c78f27be44b47870864fb7fb5e3 /usr/src/cmd/fm
parentbef6b7d21f0ed28d93540f86402920a81ebce608 (diff)
downloadillumos-gate-b6c60aa36ecfa580eac0ad61b2b4b327ee2a9b34.tar.gz
6390617 eversholt/config.c still #include's recently-deleted <fm/libtopo_enum.h>
Diffstat (limited to 'usr/src/cmd/fm')
-rw-r--r--usr/src/cmd/fm/modules/common/eversholt/config.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/usr/src/cmd/fm/modules/common/eversholt/config.c b/usr/src/cmd/fm/modules/common/eversholt/config.c
index 16a9b1d5d5..5197c0f234 100644
--- a/usr/src/cmd/fm/modules/common/eversholt/config.c
+++ b/usr/src/cmd/fm/modules/common/eversholt/config.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,10 +18,15 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- *
+ */
+
+#pragma ident "%Z%%M% %I% %E% SMI"
+
+/*
* config.c -- system configuration cache module
*
* this module caches the system configuration in a format useful
@@ -32,14 +36,11 @@
* the configuration information loaded up.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <strings.h>
-#include <fm/libtopo_enum.h>
#include "alloc.h"
#include "out.h"
#include "literals.h"
@@ -340,7 +341,7 @@ config_cook(struct cfgdata *cdata)
/*
* If this property is a device path, cache it for quick lookup
*/
- if (pn == stable(DEV)) {
+ if (pn == stable("DEV")) {
sv = stable(pv);
out(O_ALTFP|O_VERB3, "caching %s\n", sv);
cdata->devcache = lut_add(cdata->devcache,