summaryrefslogtreecommitdiffstats
path: root/schedutils/taskset.c
diff options
context:
space:
mode:
authorBenno Schulenberg2012-02-06 16:05:35 +0100
committerKarel Zak2013-01-25 11:47:28 +0100
commitc602fe5a8ef3e17e3042896571e6ad15a665db31 (patch)
tree4f5f638ca7258c0fd2095330d37b9e572184948d /schedutils/taskset.c
parenttextual: remove inconsistent periods from two error messages (diff)
downloadkernel-qcow2-util-linux-c602fe5a8ef3e17e3042896571e6ad15a665db31.tar.gz
kernel-qcow2-util-linux-c602fe5a8ef3e17e3042896571e6ad15a665db31.tar.xz
kernel-qcow2-util-linux-c602fe5a8ef3e17e3042896571e6ad15a665db31.zip
textual: tag two bug messages as "internal error"
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'schedutils/taskset.c')
-rw-r--r--schedutils/taskset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/schedutils/taskset.c b/schedutils/taskset.c
index c1bb17343..05f294c0c 100644
--- a/schedutils/taskset.c
+++ b/schedutils/taskset.c
@@ -93,8 +93,7 @@ static void print_affinity(struct taskset *ts, int isnew)
}
if (!str)
- /* this is internal error... */
- errx(EXIT_FAILURE, _("conversion from cpuset to string failed"));
+ errx(EXIT_FAILURE, _("internal error: conversion from cpuset to string failed"));
printf(msg, ts->pid, str);
}