diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-11-08 08:41:16 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-11-13 13:27:07 +0100 |
commit | fa5a025167eb861b30d384d3dc293b71914aa006 (patch) | |
tree | d7c565b9db8daf6ba450b61edf64863a71dbd5c9 /src/systemctl/systemctl-show.c | |
parent | Merge pull request #29990 from Flowdalic/memory-zswap-current (diff) | |
download | systemd-fa5a025167eb861b30d384d3dc293b71914aa006.tar.xz systemd-fa5a025167eb861b30d384d3dc293b71914aa006.zip |
Rename {dual,triple}_timestamp_get to {dual,triple}_timestamp_now
Those functions take a pointer to a timestamp and return a timestamp pointer,
so the reader would be justified to think that those are just getters. Rename
them to avoid confusion.
Diffstat (limited to 'src/systemctl/systemctl-show.c')
-rw-r--r-- | src/systemctl/systemctl-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-show.c b/src/systemctl/systemctl-show.c index 1667ba4004..94f037615b 100644 --- a/src/systemctl/systemctl-show.c +++ b/src/systemctl/systemctl-show.c @@ -484,7 +484,7 @@ static void print_status_info( dual_timestamp nw, next = {i->next_elapse_real, i->next_elapse_monotonic}; usec_t next_elapse; - dual_timestamp_get(&nw); + dual_timestamp_now(&nw); next_elapse = calc_next_elapse(&nw, &next); if (timestamp_is_set(next_elapse)) |