diff options
Diffstat (limited to 'procps/sysctl.c')
-rw-r--r-- | procps/sysctl.c | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c index a0e9e16e5..5100f57e7 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c | |||
@@ -27,24 +27,27 @@ static int sysctl_display_all(const char *path, int output, int show_table); | |||
27 | /* | 27 | /* |
28 | * Globals... | 28 | * Globals... |
29 | */ | 29 | */ |
30 | static const char PROC_PATH[] = "/proc/sys/"; | 30 | static const char PROC_PATH[] ALIGN1 = "/proc/sys/"; |
31 | static const char DEFAULT_PRELOAD[] = "/etc/sysctl.conf"; | 31 | static const char DEFAULT_PRELOAD[] ALIGN1 = "/etc/sysctl.conf"; |
32 | 32 | ||
33 | /* error messages */ | 33 | /* error messages */ |
34 | static const char ERR_UNKNOWN_PARAMETER[] = "error: Unknown parameter '%s'\n"; | 34 | static const char ERR_UNKNOWN_PARAMETER[] ALIGN1 = |
35 | static const char ERR_MALFORMED_SETTING[] = "error: Malformed setting '%s'\n"; | 35 | "error: Unknown parameter '%s'\n"; |
36 | static const char ERR_NO_EQUALS[] = | 36 | static const char ERR_MALFORMED_SETTING[] ALIGN1 = |
37 | "error: Malformed setting '%s'\n"; | ||
38 | static const char ERR_NO_EQUALS[] ALIGN1 = | ||
37 | "error: '%s' must be of the form name=value\n"; | 39 | "error: '%s' must be of the form name=value\n"; |
38 | static const char ERR_INVALID_KEY[] = "error: '%s' is an unknown key\n"; | 40 | static const char ERR_INVALID_KEY[] ALIGN1 = |
39 | static const char ERR_UNKNOWN_WRITING[] = | 41 | "error: '%s' is an unknown key\n"; |
42 | static const char ERR_UNKNOWN_WRITING[] ALIGN1 = | ||
40 | "error: unknown error %d setting key '%s'\n"; | 43 | "error: unknown error %d setting key '%s'\n"; |
41 | static const char ERR_UNKNOWN_READING[] = | 44 | static const char ERR_UNKNOWN_READING[] ALIGN1 = |
42 | "error: unknown error %d reading key '%s'\n"; | 45 | "error: unknown error %d reading key '%s'\n"; |
43 | static const char ERR_PERMISSION_DENIED[] = | 46 | static const char ERR_PERMISSION_DENIED[] ALIGN1 = |
44 | "error: permission denied on key '%s'\n"; | 47 | "error: permission denied on key '%s'\n"; |
45 | static const char ERR_PRELOAD_FILE[] = | 48 | static const char ERR_PRELOAD_FILE[] ALIGN1 = |
46 | "error: cannot open preload file '%s'\n"; | 49 | "error: cannot open preload file '%s'\n"; |
47 | static const char WARN_BAD_LINE[] = | 50 | static const char WARN_BAD_LINE[] ALIGN1 = |
48 | "warning: %s(%d): invalid syntax, continuing...\n"; | 51 | "warning: %s(%d): invalid syntax, continuing...\n"; |
49 | 52 | ||
50 | 53 | ||