message.h revision b610f78eb3ffbdbc0436ad4f8646ed839b30dfe9
/*
* 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.
*
* 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 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _MESSAGE_H
#define _MESSAGE_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#define DUP_CMD \
#define INVALID_ARCH_FS \
gettext("invalid or unsupported archive filesystem: %s\n")
#define NEED_FORCE \
gettext("This operation is only supported with the force flag (-f)\n")
#define REL_PATH_REQ \
#define FLIST_FAIL \
gettext("failed to open archive filelist: %s: %s\n")
#define DISKMAP_FAIL_NONFATAL \
gettext("cannot map disk %s to grub name, assume disk 0.\n")
#define WARN_BOOT \
gettext("WARNING: Incorrect use of this command may make \
the system unbootable\n")
#define WARN_FAILSAFE_BOOT \
gettext("WARNING: Incorrect use of this command may make \
the failsafe archive unbootable\n")
#define UPDATE_NO_STAT \
gettext("%s state file %s not found.\n")
#define CHECK_NOT_SUPPORTED \
gettext("the check option is not supported with subcmd: %s\n")
#define CANT_FIND_USER \
gettext("getpwnam: uid for %s failed, defaulting to %d\n")
#define CANT_FIND_GROUP \
gettext("getgrnam: gid for %s failed, defaulting to %d\n")
#define RESTORING_GRUB \
gettext("No GRUB installation found. Restoring GRUB from backup\n")
#define REBOOT_WITH_ARGS_FAILED \
gettext("Cannot update menu. Cannot reboot with requested arguments\n")
#ifdef __cplusplus
}
#endif
#endif /* _MESSAGE_H */