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 --- sys-utils/fstrim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/fstrim.c') diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c index fca74825f..847b81924 100644 --- a/sys-utils/fstrim.c +++ b/sys-utils/fstrim.c @@ -73,7 +73,7 @@ static int fstrim_filesystem(const char *path, struct fstrim_range *rangetpl, return -1; } if (fstat(fd, &sb) == -1) { - warn(_("stat failed %s"), path); + warn(_("stat of %s failed"), path); return -1; } if (!S_ISDIR(sb.st_mode)) { -- cgit v1.2.3-55-g7522