diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-02-22 19:00:28 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-02-22 19:00:42 +0100 |
commit | 976baf26d3f498f7d525cb484f93caf96e5c10e5 (patch) | |
tree | bff4dd58768a6250792609cf1b17cd00ea7f1726 /src/systemctl/systemctl-list-units.c | |
parent | 21ae8c17d468ca8407cb888e4531a7b484b96daf (diff) | |
download | systemd-976baf26d3f498f7d525cb484f93caf96e5c10e5.tar.gz |
systemctl: read 64bit integers into uint64_t
usec_t is also a uint64_t internally, hence this doesn't actually change
anything. However, on the conceptual level, sd-bus expects a uint64_t
hence give it one.
Diffstat (limited to 'src/systemctl/systemctl-list-units.c')
-rw-r--r-- | src/systemctl/systemctl-list-units.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-list-units.c b/src/systemctl/systemctl-list-units.c index 131553d96e..8e53730078 100644 --- a/src/systemctl/systemctl-list-units.c +++ b/src/systemctl/systemctl-list-units.c @@ -774,7 +774,7 @@ static int automount_info_compare(const struct automount_info *a, const struct a static int collect_automount_info(sd_bus* bus, const UnitInfo* info, struct automount_info *ret_info) { _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; _cleanup_free_ char *mount = NULL, *mount_path = NULL, *where = NULL, *what = NULL, *state = NULL; - usec_t timeout_idle_usec; + uint64_t timeout_idle_usec; BusLocator locator; int r; |