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/mkfs.minix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk-utils/mkfs.minix.c') diff --git a/disk-utils/mkfs.minix.c b/disk-utils/mkfs.minix.c index 81b7ae337..c84aed2b3 100644 --- a/disk-utils/mkfs.minix.c +++ b/disk-utils/mkfs.minix.c @@ -747,7 +747,7 @@ int main(int argc, char ** argv) { strcpy(tmp+2, ".badblocks"); } if (stat(device_name, &statbuf) < 0) - err(MKFS_EX_ERROR, _("stat failed %s"), device_name); + err(MKFS_EX_ERROR, _("stat of %s failed"), device_name); if (S_ISBLK(statbuf.st_mode)) DEV = open(device_name,O_RDWR | O_EXCL); else -- cgit v1.2.3-55-g7522