fault.c revision 47911a7d5f24c2fc37e7b5bcc696fe32e750c16c
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* 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
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <fmdump.h>
#include <stdio.h>
#include <strings.h>
/*ARGSUSED*/
static int
{
return (0);
}
static int
{
if (size != 0) {
}
for (i = 0; i < size; i++) {
== 0) {
sizeof (FM_FMRI_LEGACY_HC_PREFIX)) == 0)
}
/*
* Originally we didn't require FM_FAULT_RESOURCE, so if it
* isn't defined in the event, display the ASRU FMRI instead.
*/
}
return (0);
}
static int
{
uint_t i;
}
return (0);
}
const fmdump_ops_t fmdump_flt_ops = {
"fault", {
{
"TIME UUID SUNW-MSG-ID",
}, {
"TIME UUID SUNW-MSG-ID",
}, {
NULL,
} }
};