summaryrefslogtreecommitdiffstats
path: root/src/shared/bus-wait-for-units.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-03-03 05:07:10 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-03-04 23:10:13 +0100
commitf5fbe71d956957ca7ceb6777aed05a416fc83a43 (patch)
tree67358d417604030867a979f216bbb79939a37844 /src/shared/bus-wait-for-units.c
parenttable: drop last SIZE_MAX from table_set_sort() and table_set_display() (diff)
downloadsystemd-f5fbe71d956957ca7ceb6777aed05a416fc83a43.tar.xz
systemd-f5fbe71d956957ca7ceb6777aed05a416fc83a43.zip
tree-wide: use UINT64_MAX or friends
Diffstat (limited to 'src/shared/bus-wait-for-units.c')
-rw-r--r--src/shared/bus-wait-for-units.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-wait-for-units.c b/src/shared/bus-wait-for-units.c
index 4f1c505bd3..29620e0d1b 100644
--- a/src/shared/bus-wait-for-units.c
+++ b/src/shared/bus-wait-for-units.c
@@ -414,7 +414,7 @@ int bus_wait_for_units_run(BusWaitForUnits *d) {
if (r > 0)
continue;
- r = sd_bus_wait(d->bus, (uint64_t) -1);
+ r = sd_bus_wait(d->bus, UINT64_MAX);
if (r < 0)
return r;
}