mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
bus-policy.c: use draw_special_char(DRAW_ARROW)
Lets allow LC_ALL=C without corrupted output
This commit is contained in:
parent
2ba5d84c49
commit
e76ae7ee96
@ -644,16 +644,16 @@ static void dump_hashmap_items(Hashmap *h) {
|
|||||||
|
|
||||||
noreturn void policy_dump(Policy *p) {
|
noreturn void policy_dump(Policy *p) {
|
||||||
|
|
||||||
printf("→ Default Items:\n");
|
printf("%s Default Items:\n", draw_special_char(DRAW_ARROW));
|
||||||
dump_items(p->default_items);
|
dump_items(p->default_items);
|
||||||
|
|
||||||
printf("→ Mandatory Items:\n");
|
printf("%s Mandatory Items:\n", draw_special_char(DRAW_ARROW));
|
||||||
dump_items(p->mandatory_items);
|
dump_items(p->mandatory_items);
|
||||||
|
|
||||||
printf("→ Group Items:\n");
|
printf("%s Group Items:\n", draw_special_char(DRAW_ARROW));
|
||||||
dump_hashmap_items(p->group_items);
|
dump_hashmap_items(p->group_items);
|
||||||
|
|
||||||
printf("→ User Items:\n");
|
printf("%s User Items:\n", draw_special_char(DRAW_ARROW));
|
||||||
dump_hashmap_items(p->user_items);
|
dump_hashmap_items(p->user_items);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user