diff options
Diffstat (limited to 'usr/src/cmd/fm/schemes/fmd/scheme.c')
-rw-r--r-- | usr/src/cmd/fm/schemes/fmd/scheme.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/usr/src/cmd/fm/schemes/fmd/scheme.c b/usr/src/cmd/fm/schemes/fmd/scheme.c index 5cc5854a16..e17d068266 100644 --- a/usr/src/cmd/fm/schemes/fmd/scheme.c +++ b/usr/src/cmd/fm/schemes/fmd/scheme.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. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -43,3 +42,17 @@ fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) return (snprintf(buf, buflen, "%s:///module/%s", FM_FMRI_SCHEME_FMD, name)); } + +/*ARGSUSED*/ +int +fmd_fmri_present(nvlist_t *nvl) +{ + return (1); +} + +/*ARGSUSED*/ +int +fmd_fmri_unusable(nvlist_t *nvl) +{ + return (0); +} |