summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--schedutils/taskset.c3
-rw-r--r--term-utils/ttymsg.c2
2 files changed, 2 insertions, 3 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);
}
diff --git a/term-utils/ttymsg.c b/term-utils/ttymsg.c
index aea6c2656..185e9bba9 100644
--- a/term-utils/ttymsg.c
+++ b/term-utils/ttymsg.c
@@ -74,7 +74,7 @@ ttymsg(struct iovec *iov, size_t iovcnt, char *line, int tmout) {
int fd, forked = 0, errsv;
if (iovcnt > sizeof(localiov) / sizeof(localiov[0]))
- return (_("too many iov's (change code in wall/ttymsg.c)"));
+ return (_("internal error: too many iov's"));
/* The old code here rejected the line argument when it contained a '/',
saying: "A slash may be an attempt to break security...".