chiark / gitweb /
systemctl: don't use UTF directly
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Jul 2010 03:55:41 +0000 (05:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Jul 2010 03:55:41 +0000 (05:55 +0200)
src/systemctl.c

index 6977f85b3f7d0daeceeb3b15de6dcefce94e8b48..9b88da153803a4b348e4baec4be15aadc2e5d1f0 100644 (file)
@@ -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);
         }