summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-03-31 20:08:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-03-31 20:08:05 +0200
commitb866264a18095d5302443ab0a95560d973ba4b10 (patch)
treed8adcb5b729b8d04f3f08d90ca6087729809ec38 /socket.c
parent8e27452380193a5f81bfd08a59aab8b07008ba0b (diff)
gcc: make a couple of gcc warnings go away
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 79933347d0..afa001f20f 100644
--- a/socket.c
+++ b/socket.c
@@ -701,7 +701,7 @@ static void socket_sigchld_event(Unit *u, pid_t pid, int code, int status) {
log_debug("%s control process exited, code=%s status=%i", unit_id(u), sigchld_code_to_string(code), status);
if (s->control_command->command_next &&
- (success || (s->state == SOCKET_EXEC_STOP_PRE || s->state == SOCKET_EXEC_STOP_POST))) {
+ (success || (s->state == SOCKET_STOP_PRE || s->state == SOCKET_STOP_POST))) {
log_debug("%s running next command for the state %s", unit_id(u), state_string_table[s->state]);
socket_run_next(s, success);
} else {