From: Lennart Poettering Date: Tue, 6 Jul 2010 03:55:41 +0000 (+0200) Subject: systemctl: don't use UTF directly X-Git-Tag: v1~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc6071bfb38a118fd059e6f86750dfcf9580fd31;p=systemd systemctl: don't use UTF directly --- diff --git a/src/systemctl.c b/src/systemctl.c index 6977f85b..9b88da15 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -951,7 +951,7 @@ static void show_cgroup(const char *name) { if (!f) return; - printf("\t\t │\n"); + printf("\t\t \342\224\202\n"); while (!feof(f)) { unsigned long ul; @@ -965,7 +965,7 @@ static void show_cgroup(const char *name) { if (last > 0) { char *t = NULL; get_process_cmdline(last, 60, &t); - printf("\t\t ├ %lu %s\n", (unsigned long) last, strna(t)); + printf("\t\t \342\224\234 %lu %s\n", (unsigned long) last, strna(t)); free(t); } @@ -975,7 +975,7 @@ static void show_cgroup(const char *name) { if (last > 0) { char *t = NULL; get_process_cmdline(last, 60, &t); - printf("\t\t └ %lu %s\n", (unsigned long) last, strna(t)); + printf("\t\t \342\224\224 %lu %s\n", (unsigned long) last, strna(t)); free(t); }