summaryrefslogtreecommitdiff
path: root/man/vtable-example.c
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2019-04-29 18:22:22 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2019-04-30 09:39:07 +0200
commited0cb346821972ec2c505ee11ed3d383aba6256e (patch)
tree4a3d21f05d3f0c5066d5e2306158a1be8a27d762 /man/vtable-example.c
parent4a4eaade6072d5358f9b8cc7e1a6fca22e7d15e6 (diff)
downloadsystemd-ed0cb346821972ec2c505ee11ed3d383aba6256e.tar.gz
tree-wide: code improvements suggested by Coccinelle
Diffstat (limited to 'man/vtable-example.c')
-rw-r--r--man/vtable-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/vtable-example.c b/man/vtable-example.c
index a2a6cd18d7..98c20eec52 100644
--- a/man/vtable-example.c
+++ b/man/vtable-example.c
@@ -59,7 +59,7 @@ int main(int argc, char **argv) {
vtable,
&object));
- while (true) {
+ for (;;) {
check(sd_bus_wait(bus, UINT64_MAX));
check(sd_bus_process(bus, NULL));
}