diff options
Diffstat (limited to 'usr/src/cmd/fm/fmd/common/fmd_self.c')
| -rw-r--r-- | usr/src/cmd/fm/fmd/common/fmd_self.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/cmd/fm/fmd/common/fmd_self.c b/usr/src/cmd/fm/fmd/common/fmd_self.c index 2a11fc3297..3ee514b5f3 100644 --- a/usr/src/cmd/fm/fmd/common/fmd_self.c +++ b/usr/src/cmd/fm/fmd/common/fmd_self.c @@ -20,8 +20,7 @@ */ /* - * Copyright 2010 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. */ #include <sys/fm/protocol.h> @@ -158,6 +157,10 @@ self_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) if (self_case_lookup(hdl, SC_CLASS, class) != NULL) return; /* case is already open against this class */ + if (strncmp(class, FM_IREPORT_CLASS ".", + sizeof (FM_IREPORT_CLASS)) == 0) + return; /* no subscriber required for ireport.* */ + cp = fmd_case_open(hdl, self_case_create(hdl, SC_CLASS, class)); fmd_case_add_ereport(hdl, cp, ep); self_stats.nosub.fmds_value.ui64++; |
