mirror of
https://github.com/systemd/systemd.git
synced 2025-07-03 00:59:15 +03:00
minor cleanup
This commit is contained in:
2
target.c
2
target.c
@ -33,7 +33,7 @@ static void target_set_state(Target *t, TargetState state) {
|
|||||||
old_state = t->state;
|
old_state = t->state;
|
||||||
t->state = state;
|
t->state = state;
|
||||||
|
|
||||||
log_debug("%s changing %s → %s", unit_id(UNIT(t)), state_string_table[old_state], state_string_table[state]);
|
log_debug("%s changed %s → %s", unit_id(UNIT(t)), state_string_table[old_state], state_string_table[state]);
|
||||||
|
|
||||||
unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state]);
|
unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user