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 --- disk-utils/fsck.cramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk-utils/fsck.cramfs.c') diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c index 419b9acb5..0a375f12c 100644 --- a/disk-utils/fsck.cramfs.c +++ b/disk-utils/fsck.cramfs.c @@ -143,7 +143,7 @@ static void test_super(int *start, size_t * length) /* find the physical size of the file or block device */ if (stat(filename, &st) < 0) - err(FSCK_EX_ERROR, _("stat failed %s"), filename); + err(FSCK_EX_ERROR, _("stat of %s failed"), filename); fd = open(filename, O_RDONLY); if (fd < 0) -- cgit v1.2.3-55-g7522