summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
authorKarel Zak2016-07-11 10:25:13 +0200
committerKarel Zak2016-07-11 10:25:13 +0200
commit078720a76f275fc7858d6a02a9c7dbe9df5127f1 (patch)
tree6ac3818c2de132d4c44574b5faf7e25d7a2d0cce /schedutils
parentcfisk: add /dev/vda as another default disk (diff)
downloadkernel-qcow2-util-linux-078720a76f275fc7858d6a02a9c7dbe9df5127f1.tar.gz
kernel-qcow2-util-linux-078720a76f275fc7858d6a02a9c7dbe9df5127f1.tar.xz
kernel-qcow2-util-linux-078720a76f275fc7858d6a02a9c7dbe9df5127f1.zip
tests: add chrt test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/chrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 202ce2526..e934275d7 100644
--- a/schedutils/chrt.c
+++ b/schedutils/chrt.c
@@ -308,10 +308,10 @@ static void show_min_max(void)
int min = sched_get_priority_min(plc);
if (max >= 0 && min >= 0)
- printf(_("SCHED_%s min/max priority\t: %d/%d\n"),
+ printf(_("%s min/max priority\t: %d/%d\n"),
get_policy_name(plc), min, max);
else
- printf(_("SCHED_%s not supported?\n"), get_policy_name(plc));
+ printf(_("%s not supported?\n"), get_policy_name(plc));
}
}