From fc14ceba5e545a0e0f61e7a9fe562c79671258ef Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 29 Jan 2015 21:21:48 +0100 Subject: textual: grammarize and harmonize the stat error message The message "stat failed %s" seems to say that stat() failed to do something, or failed to pass a test, but of course it means that the statting of something failed. So say so. Also make two very similar messages equal to this one. Signed-off-by: Benno Schulenberg --- term-utils/mesg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term-utils/mesg.c') diff --git a/term-utils/mesg.c b/term-utils/mesg.c index a3892871c..3cb1d24e6 100644 --- a/term-utils/mesg.c +++ b/term-utils/mesg.c @@ -125,7 +125,7 @@ int main(int argc, char *argv[]) err(MESG_EXIT_FAILURE, _("ttyname failed")); if (stat(tty, &sb) < 0) - err(MESG_EXIT_FAILURE, _("stat failed %s"), tty); + err(MESG_EXIT_FAILURE, _("stat of %s failed"), tty); if (!*argv) { if (sb.st_mode & (S_IWGRP | S_IWOTH)) { -- cgit v1.2.3-55-g7522