chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemctl: don't use UTF directly
[elogind.git]
/
src
/
systemctl.c
diff --git
a/src/systemctl.c
b/src/systemctl.c
index 6977f85b3f7d0daeceeb3b15de6dcefce94e8b48..9b88da153803a4b348e4baec4be15aadc2e5d1f0 100644
(file)
--- a/
src/systemctl.c
+++ b/
src/systemctl.c
@@
-951,7
+951,7
@@
static void show_cgroup(const char *name) {
if (!f)
return;
if (!f)
return;
- printf("\t\t
│
\n");
+ printf("\t\t
\342\224\202
\n");
while (!feof(f)) {
unsigned long ul;
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);
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);
}
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);
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);
}
free(t);
}