diff options
Diffstat (limited to 'login-utils/ttymsg.c')
-rw-r--r-- | login-utils/ttymsg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/login-utils/ttymsg.c b/login-utils/ttymsg.c index 92282c127..a4df59e6c 100644 --- a/login-utils/ttymsg.c +++ b/login-utils/ttymsg.c @@ -171,7 +171,8 @@ ttymsg(struct iovec *iov, int iovcnt, char *line, int tmout) { if (forked) _exit(1); if (strlen(strerror(errno)) > 1000) - (void) sprintf(errbuf, _("%s: BAD ERROR"), device); + (void) sprintf(errbuf, _("%s: BAD ERROR, message is " + "far too long"), device); else { errsv = errno; (void) sprintf(errbuf, "%s: %s", device, |