summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-10 20:11:21 +0200
committerLennart Poettering <lennart@poettering.net>2016-10-10 20:11:21 +0200
commit56ecbcc04868e749ae320b7ed9c3fd90aff2951f (patch)
tree34c6d17e4cba0b2f1bba12868403c1270597c3d1
parent65e3fd83c98a44111c1b05a6e0d492dcab58853b (diff)
exit-status: reorder the exit status switch table
Let's make sure it's in the same order as the actual enum defining the exit statuses.
-rw-r--r--src/basic/exit-status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/exit-status.c b/src/basic/exit-status.c
index d2a8d3b418..81c2c6675c 100644
--- a/src/basic/exit-status.c
+++ b/src/basic/exit-status.c
@@ -140,12 +140,12 @@ const char* exit_status_to_string(int status, ExitStatusLevel level) {
case EXIT_RUNTIME_DIRECTORY:
return "RUNTIME_DIRECTORY";
- case EXIT_CHOWN:
- return "CHOWN";
-
case EXIT_MAKE_STARTER:
return "MAKE_STARTER";
+ case EXIT_CHOWN:
+ return "CHOWN";
+
case EXIT_SMACK_PROCESS_LABEL:
return "SMACK_PROCESS_LABEL";
}