summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Johnston <rob.johnston@joyent.com>2018-02-02 03:47:30 +0000
committerRob Johnston <rob.johnston@joyent.com>2018-02-02 20:39:21 +0000
commit36829f2454ec7da42c400dd260a43f4a221f9124 (patch)
tree610201d16a253323d2bb80fbc7a1ab77992c88e6
parent776f487252bbb7427b0a2d7f88feda28ecdedd46 (diff)
downloadillumos-joyent-36829f2454ec7da42c400dd260a43f4a221f9124.tar.gz
OS-6129 fmadm reports faults without message summary
Reviewed by: Joshua M. Clulow <jmc@joyent.com> Approved by: Patrick Mooney <patrick.mooney@joyent.com>
-rw-r--r--usr/src/cmd/fm/modules/common/eversholt/fme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/fm/modules/common/eversholt/fme.c b/usr/src/cmd/fm/modules/common/eversholt/fme.c
index 096caa73db..553db71b6c 100644
--- a/usr/src/cmd/fm/modules/common/eversholt/fme.c
+++ b/usr/src/cmd/fm/modules/common/eversholt/fme.c
@@ -22,6 +22,7 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012 Milan Jurik. All rights reserved.
+ * Copyright (c) 2018, Joyent, Inc.
*
* fme.c -- fault management exercise module
*
@@ -350,6 +351,7 @@ newfme(const char *e0class, const struct ipath *e0ipp, fmd_hdl_t *hdl,
out(O_ALTFP|O_VERB2, "Unable to map \"%s\" ereport "
"to component path, but silent discard allowed.",
e0class);
+ fmd_case_close(hdl, fmcase);
} else {
Undiag_reason = UD_VAL_BADEVENTPATH;
(void) nvlist_lookup_nvlist(nvl, FM_EREPORT_DETECTOR,