summaryrefslogtreecommitdiffstats
path: root/man/standard-options.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-15 19:47:41 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-17 21:08:50 +0100
commit9c7f2201731fe04cc41aa067c8be21d35b803bce (patch)
tree37062ed9b0440e546fbf5f3407b80d89b1bb5f49 /man/standard-options.xml
parenttree-wide: use parse_boolean_argument() for variables with non-boolean type (diff)
downloadsystemd-9c7f2201731fe04cc41aa067c8be21d35b803bce.tar.xz
systemd-9c7f2201731fe04cc41aa067c8be21d35b803bce.zip
journal-remote: convert to parse_boolean_argument() and fix type confusion
We were passing a reference to 'int arg_seal' to config_parse_bool(), which expects a 'bool *'. Luckily, this would work, because 'bool' is smaller than 'int', so config_parse_bool() would set the least-significant byte of arg_seal. At least I think so. But let's use consistent types ;) Also, modernize style a bit and don't use integers in boolean context.
Diffstat (limited to 'man/standard-options.xml')
0 files changed, 0 insertions, 0 deletions