From: Lennart Poettering Date: Mon, 10 Oct 2016 18:11:21 +0000 (+0200) Subject: exit-status: reorder the exit status switch table X-Git-Tag: v232~118^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56ecbcc04868e749ae320b7ed9c3fd90aff2951f;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/basic/exit-status.c b/src/basic/exit-status.c index d2a8d3b418e..81c2c6675c8 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"; }