[systemd-commits] src/bus-proxyd

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Sun Jun 8 06:26:44 PDT 2014


 src/bus-proxyd/bus-policy.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e76ae7ee960e837f855f104f000e2ef14790374e
Author: Daniel Buch <boogiewasthere at gmail.com>
Date:   Sun Jun 8 13:57:21 2014 +0200

    bus-policy.c: use draw_special_char(DRAW_ARROW)
    
    Lets allow LC_ALL=C without corrupted output

diff --git a/src/bus-proxyd/bus-policy.c b/src/bus-proxyd/bus-policy.c
index 053495c..2df4bf7 100644
--- a/src/bus-proxyd/bus-policy.c
+++ b/src/bus-proxyd/bus-policy.c
@@ -644,16 +644,16 @@ static void dump_hashmap_items(Hashmap *h) {
 
 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);
 
-        printf("→ Mandatory Items:\n");
+        printf("%s Mandatory Items:\n", draw_special_char(DRAW_ARROW));
         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);
 
-        printf("→ User Items:\n");
+        printf("%s User Items:\n", draw_special_char(DRAW_ARROW));
         dump_hashmap_items(p->user_items);
         exit(0);
 }



More information about the systemd-commits mailing list