diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-03-28 20:37:27 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-03-28 13:37:27 +0200 |
commit | a7e4861c7471bfe563078d11acbcecbf2d755462 (patch) | |
tree | 4f66f511af7e783ef753cd4b8acc8b382d99697e /src/locale/localectl.c | |
parent | 6f7729c1767998110c4460c85c94435c5782a613 (diff) | |
download | systemd-a7e4861c7471bfe563078d11acbcecbf2d755462.tar.gz |
bus-util: add flags for bus_map_all_properties() (#8546)
This adds flags BUS_MAP_STRDUP and BUS_MAP_BOOLEAN_AS_BOOL.
If BUS_MAP_STRDUP is set, then each "s" message is duplicated.
If BUS_MAP_BOOLEAN_AS_BOOL is set, then each "b" message is
written to a bool pointer.
Follow-up for #8488.
See https://github.com/systemd/systemd/pull/8488#discussion_r175816270.
Diffstat (limited to 'src/locale/localectl.c')
-rw-r--r-- | src/locale/localectl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 550e97b3ed..b068990b22 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -162,6 +162,7 @@ static int show_status(int argc, char **argv, void *userdata) { "org.freedesktop.locale1", "/org/freedesktop/locale1", map, + 0, &error, &m, &info); |