mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
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.
This commit is contained in:
parent
65e3fd83c9
commit
56ecbcc048
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user