summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-23 20:25:55 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-23 20:25:55 +0200
commit40d50879d9339e539a30e5d32234baffb732f0f9 (patch)
tree6eb99a62692a3f4ac1e6e38260460984fcef430c
parent5dcfe57bb1a036ba6e4af10746c42892c44f0766 (diff)
get rid of unicode arrows, since the linux console cannot show them, not even in unicode mode
-rw-r--r--automount.c2
-rw-r--r--device.c2
-rw-r--r--job.c6
-rw-r--r--main.c4
-rw-r--r--mount.c2
-rw-r--r--service.c4
-rw-r--r--snapshot.c2
-rw-r--r--socket.c4
-rw-r--r--systemctl.vala2
-rw-r--r--target.c2
-rw-r--r--unit.c2
11 files changed, 16 insertions, 16 deletions
diff --git a/automount.c b/automount.c
index b124fc5b0e..cab7164a5d 100644
--- a/automount.c
+++ b/automount.c
@@ -168,7 +168,7 @@ static void automount_set_state(Automount *a, AutomountState state) {
unmount_autofs(a);
if (state != old_state)
- log_debug("%s changed %s → %s",
+ log_debug("%s changed %s -> %s",
UNIT(a)->meta.id,
automount_state_to_string(old_state),
automount_state_to_string(state));
diff --git a/device.c b/device.c
index 520cbdb2c2..95c458f3d7 100644
--- a/device.c
+++ b/device.c
@@ -52,7 +52,7 @@ static void device_set_state(Device *d, DeviceState state) {
d->state = state;
if (state != old_state)
- log_debug("%s changed %s → %s",
+ log_debug("%s changed %s -> %s",
UNIT(d)->meta.id,
device_state_to_string(old_state),
device_state_to_string(state));
diff --git a/job.c b/job.c
index f35c91c4df..1d59bcb27f 100644
--- a/job.c
+++ b/job.c
@@ -150,8 +150,8 @@ void job_dump(Job *j, FILE*f, const char *prefix) {
assert(f);
fprintf(f,
- "%s→ Job %u:\n"
- "%s\tAction: %s → %s\n"
+ "%s-> Job %u:\n"
+ "%s\tAction: %s -> %s\n"
"%s\tState: %s\n"
"%s\tForced: %s\n",
prefix, j->id,
@@ -464,7 +464,7 @@ int job_finish_and_invalidate(Job *j, bool success) {
/* Patch restart jobs so that they become normal start jobs */
if (success && (j->type == JOB_RESTART || j->type == JOB_TRY_RESTART)) {
- log_debug("Converting job %s/%s → %s/%s",
+ log_debug("Converting job %s/%s -> %s/%s",
j->unit->meta.id, job_type_to_string(j->type),
j->unit->meta.id, job_type_to_string(JOB_START));
diff --git a/main.c b/main.c
index 0aa3796e87..5b23c937b7 100644
--- a/main.c
+++ b/main.c
@@ -668,7 +668,7 @@ int main(int argc, char *argv[]) {
}
if (action == ACTION_TEST) {
- printf("→ By units:\n");
+ printf("-> By units:\n");
manager_dump_units(m, stdout, "\t");
}
@@ -678,7 +678,7 @@ int main(int argc, char *argv[]) {
}
if (action == ACTION_TEST) {
- printf("→ By jobs:\n");
+ printf("-> By jobs:\n");
manager_dump_jobs(m, stdout, "\t");
retval = 0;
goto finish;
diff --git a/mount.c b/mount.c
index 3cb4cf2dd5..55f11341a6 100644
--- a/mount.c
+++ b/mount.c
@@ -385,7 +385,7 @@ static void mount_set_state(Mount *m, MountState state) {
mount_notify_automount(m, -ENODEV);
if (state != old_state)
- log_debug("%s changed %s → %s",
+ log_debug("%s changed %s -> %s",
UNIT(m)->meta.id,
mount_state_to_string(old_state),
mount_state_to_string(state));
diff --git a/service.c b/service.c
index 37d4e9c381..d514922b6b 100644
--- a/service.c
+++ b/service.c
@@ -875,7 +875,7 @@ static void service_dump(Unit *u, FILE *f, const char *prefix) {
if (!s->exec_command[c])
continue;
- fprintf(f, "%s→ %s:\n",
+ fprintf(f, "%s-> %s:\n",
prefix, service_exec_command_to_string(c));
exec_command_dump_list(s->exec_command[c], f, prefix2);
@@ -1069,7 +1069,7 @@ static void service_set_state(Service *s, ServiceState state) {
service_close_socket_fd(s);
if (old_state != state)
- log_debug("%s changed %s → %s", UNIT(s)->meta.id, service_state_to_string(old_state), service_state_to_string(state));
+ log_debug("%s changed %s -> %s", UNIT(s)->meta.id, service_state_to_string(old_state), service_state_to_string(state));
unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state]);
}
diff --git a/snapshot.c b/snapshot.c
index 397d09be19..513bf66475 100644
--- a/snapshot.c
+++ b/snapshot.c
@@ -39,7 +39,7 @@ static void snapshot_set_state(Snapshot *s, SnapshotState state) {
s->state = state;
if (state != old_state)
- log_debug("%s changed %s → %s",
+ log_debug("%s changed %s -> %s",
UNIT(s)->meta.id,
snapshot_state_to_string(old_state),
snapshot_state_to_string(state));
diff --git a/socket.c b/socket.c
index 3e7b0f8ba5..827d7b5e97 100644
--- a/socket.c
+++ b/socket.c
@@ -251,7 +251,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
if (!s->exec_command[c])
continue;
- fprintf(f, "%s→ %s:\n",
+ fprintf(f, "%s-> %s:\n",
prefix, socket_exec_command_to_string(c));
exec_command_dump_list(s->exec_command[c], f, prefix2);
@@ -496,7 +496,7 @@ static void socket_set_state(Socket *s, SocketState state) {
socket_close_fds(s);
if (state != old_state)
- log_debug("%s changed %s → %s",
+ log_debug("%s changed %s -> %s",
s->meta.id,
socket_state_to_string(old_state),
socket_state_to_string(state));
diff --git a/systemctl.vala b/systemctl.vala
index feacdb2b7b..65ee0fe72f 100644
--- a/systemctl.vala
+++ b/systemctl.vala
@@ -122,7 +122,7 @@ int main (string[] args) {
stdout.printf("%-45s %-6s %-12s %-12s", i.id, i.load_state, i.active_state, i.sub_state);
if (i.job_id != 0)
- stdout.printf(" → %-15s", i.job_type);
+ stdout.printf(" -> %-15s", i.job_type);
stdout.puts("\n");
n++;
diff --git a/target.c b/target.c
index 32c2256e27..75f8ef8948 100644
--- a/target.c
+++ b/target.c
@@ -41,7 +41,7 @@ static void target_set_state(Target *t, TargetState state) {
t->state = state;
if (state != old_state)
- log_debug("%s changed %s → %s",
+ log_debug("%s changed %s -> %s",
UNIT(t)->meta.id,
target_state_to_string(old_state),
target_state_to_string(state));
diff --git a/unit.c b/unit.c
index 3f2538a694..b69b6e3620 100644
--- a/unit.c
+++ b/unit.c
@@ -568,7 +568,7 @@ void unit_dump(Unit *u, FILE *f, const char *prefix) {
prefix2 = p2 ? p2 : prefix;
fprintf(f,
- "%s→ Unit %s:\n"
+ "%s-> Unit %s:\n"
"%s\tDescription: %s\n"
"%s\tInstance: %s\n"
"%s\tUnit Load State: %s\n"