message.h revision 17e9b2b79f1b6ad823020c5671e72cfa3fc10c7e
/*
* 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 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _MESSAGE_H
#define _MESSAGE_H
#ifdef __cplusplus
extern "C" {
#endif
#define CANNOT_BE_USED \
gettext("Pattern '%s' cannot be used with device '%s:%s'\n")
#define ALIAS_TOO_LONG \
gettext("alias name is too long; must be %d characters or less: %s\n")
#define MAJOR_AND_B_FLAG \
gettext("must specify major number and driver name when using the -b flag\n")
#define MODCTL_ADDMAJBIND \
gettext("modctl failed to add major number binding.\n")
#define MODCTL_REMMAJBIND \
gettext("modctl failed to remove major number binding.\n")
#define IGNORING_ENTRY \
gettext("ignoring devfsadm_create entry #%d in module %s\n")
#define MAX_ATTEMPTS \
gettext("cannot create link: %s -> %s. max attempts exceeded\n")
#define SUPER_TO_SYNC \
gettext("you must be superuser to sync /etc/path_to_inst\n")
#define MISSING_TAB \
gettext("line %d: configuration file %s has a missing tab -- ignoring\n")
#define MISSING_DEVNAME \
gettext("line %d: configuration file %s has a missing dev name field -- \
ignoring\n")
#define TOO_MANY_FIELDS \
gettext("line %d: configuration file %s has too many fields -- ignoring\n")
#define LINE_TOO_LONG \
gettext("Line %d too long in configuration file %s -- should be less \
than %d characters\n")
#define UNRECOGNIZED_KEY \
gettext("unrecognized keyword '%s' -- ignoring line %d of file %s\n")
#define MISSING_EQUAL \
gettext("missing '=' in devfs_spec field line %d from file %s\n")
#define CONFIG_INCORRECT \
gettext("line %d: configuration file %s incorrect: %s -- ignoring\n")
-r root_directory ]\n\t\t[ -n ]\n\t\t[ -v ]\n")
root_directory ]\n\t\t[ -t table-file ]\n\t\t[ -v ]\n")
\n\t\t[ -c class_name ]\n\t\t[ -d ]\n\t\t[ -i driver_name ]\n\t\t[ -m \
major_number ]\n\t\t[ -n ]\n\t\t[ -r rootdir ]\n\t\t[ -v ]\n")
\n\t\t[ -i driver_name ]\n\t\t[ -l module_path ]\n\t\t[ -n ]\
\n\t\t[ -r rootdir ]\n\t\t[ -s ]\n\t\t[ -t devlink_table_file ]\n\t\t[ -v ]\n")
#define EVENT_ATTR_LOOKUP_FAILED \
gettext("failed to lookup event attributes: %s\n")
#define PROP_ADD_FAILED \
gettext("failed to add the property %s to event attributes\n")
#define DEV_NAME_LOOKUP_FAILED \
gettext("failed to lookup dev name for %s\n")
#define BUILD_EVENT_ATTR_FAILED \
gettext("failed to build event attributes: %s\n")
#define ZONE_PATHCHECK \
gettext("cannot manage root path '%s': path is part of zone '%s'\n")
#define MUST_BE_GLOBAL_ZONE \
gettext("can only be run from the global zone\n")
#define DEVNAME_CONTACT_FAILED \
gettext("cannot talk to devname fs %s: %s\n")
#ifdef __cplusplus
}
#endif
#endif /* _MESSAGE_H */