projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e3fd8
)
exit-status: reorder the exit status switch table
author
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Oct 2016 18:11:21 +0000
(20:11 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Oct 2016 18:11:21 +0000
(20:11 +0200)
Let's make sure it's in the same order as the actual enum defining the exit
statuses.
src/basic/exit-status.c
patch
|
blob
|
history
diff --git
a/src/basic/exit-status.c
b/src/basic/exit-status.c
index
d2a8d3b
..
81c2c66
100644
(file)
--- 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";
}