diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-03-18 13:58:27 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-03-18 14:23:11 +0100 |
commit | 1da3cb81411e7c3d698fe20f95cc1c8145f2941c (patch) | |
tree | 520f0df7135e25623ec9c28830333aaa062c3442 /src/libsystemd/sd-event | |
parent | coccinelle: add a transformation for GNU conditionals (diff) | |
download | systemd-1da3cb81411e7c3d698fe20f95cc1c8145f2941c.tar.xz systemd-1da3cb81411e7c3d698fe20f95cc1c8145f2941c.zip |
tree-wide: simplify x ? x : y to x ?: y where applicable
Diffstat (limited to 'src/libsystemd/sd-event')
-rw-r--r-- | src/libsystemd/sd-event/event-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-event/event-util.c b/src/libsystemd/sd-event/event-util.c index 9863b07653..d93d8865ec 100644 --- a/src/libsystemd/sd-event/event-util.c +++ b/src/libsystemd/sd-event/event-util.c @@ -46,7 +46,7 @@ int event_reset_time( return log_debug_errno(SYNTHETIC_ERRNO(EINVAL), "sd-event: Current clock id %i of event source \"%s\" is different from specified one %i.", (int)c, - strna((*s)->description ? : description), + strna((*s)->description ?: description), (int)clock); r = sd_event_source_set_time(*s, usec); |