summaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/renice.c')
-rw-r--r--procps/renice.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/procps/renice.c b/procps/renice.c
index 6c5bb0e..b2a9ed7 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -29,7 +29,7 @@ void BUG_bad_PRIO_USER(void);
int renice_main(int argc, char **argv);
int renice_main(int argc, char **argv)
{
- static const char Xetpriority_msg[] = "%cetpriority";
+ static const char Xetpriority_msg[] ALIGN1 = "%cetpriority";
int retval = EXIT_SUCCESS;
int which = PRIO_PROCESS; /* Default 'which' value. */
@@ -67,8 +67,9 @@ int renice_main(int argc, char **argv)
while ((arg = *++argv) != NULL) {
/* Check for a mode switch. */
if (arg[0] == '-' && arg[1]) {
- static const char opts[]
- = { 'p', 'g', 'u', 0, PRIO_PROCESS, PRIO_PGRP, PRIO_USER };
+ static const char opts[] ALIGN1 = {
+ 'p', 'g', 'u', 0, PRIO_PROCESS, PRIO_PGRP, PRIO_USER
+ };
const char *p = strchr(opts, arg[1]);
if (p) {
which = p[4];