4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _SYSEVENTADM_MSG_H
28 #define _SYSEVENTADM_MSG_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
37 * Gettext strings for internationalization
39 #define MSG_NOT_ROOT \
40 gettext("%s: must be root\n")
42 #define MSG_NOT_GLOBAL \
43 gettext("%s: must be in global zone\n")
45 #define MSG_CANNOT_CREATE \
46 gettext("%s: cannot create %s - %s\n")
48 #define MSG_CANNOT_OPEN \
49 gettext("%s: cannot open %s - %s\n")
51 #define MSG_CLOSE_ERROR \
52 gettext("%s: close of %s failed - %s\n")
54 #define MSG_CHMOD_ERROR \
55 gettext("%s: cannot chmod %s to 0444 - %s\n")
57 #define MSG_CANNOT_OPEN_DIR \
58 gettext("%s: cannot open directory %s - %s\n")
60 #define MSG_CLOSE_DIR_ERROR \
61 gettext("%s: close of directory %s failed - %s\n")
63 #define MSG_TMP_FILE \
64 gettext("%s: unable to make tmp file name\n")
66 #define MSG_CANNOT_UNLINK \
67 gettext("%s: cannot unlink %s - %s\n")
69 #define MSG_CANNOT_RENAME \
70 gettext("%s: cannot rename %s to %s - %s\n")
72 #define MSG_RESTART_FAILED \
73 gettext("%s: restart failed - %s\n")
76 gettext("%s: out of memory\n")
78 #define MSG_USAGE_INTRO \
79 gettext("usage: syseventadm <cmd> ...\n")
81 #define MSG_USAGE_OPTIONS \
82 gettext("where the possible commands and options for each are:\n")
84 #define MSG_LOCK_CREATE_ERR \
85 gettext("%s: error creating lock %s - %s\n")
87 #define MSG_LOCK_PATH_ERR \
88 gettext("%s: error creating lock %s - file path invalid\n")
90 #define MSG_LOCK_SET_ERR \
91 gettext("%s: error setting lock in %s - %s\n")
93 #define MSG_LOCK_CLR_ERR \
94 gettext("%s: error clearing lock in %s - %s\n")
96 #define MSG_LOCK_CLOSE_ERR \
97 gettext("%s: error closing lock %s - %s\n")
103 #endif /* _SYSEVENTADM_MSG_H */