From: Benno Schulenberg Date: Mon, 6 Feb 2012 15:05:35 +0000 (+0100) Subject: textual: tag two bug messages as "internal error" X-Git-Tag: v2.23-rc1~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c602fe5a8ef3e17e3042896571e6ad15a665db31;p=thirdparty%2Futil-linux.git textual: tag two bug messages as "internal error" Signed-off-by: Benno Schulenberg --- diff --git a/schedutils/taskset.c b/schedutils/taskset.c index c1bb17343b..05f294c0c2 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 aea6c26560..185e9bba94 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...".