From f770a404bf6b28fed610c038e023b0ae606a9d69 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 10 Aug 2011 20:55:48 +0200 Subject: mkfs.cramfs: clearer error message, "cannot close" instead of "closing" Signed-off-by: Benno Schulenberg --- disk-utils/mkfs.cramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk-utils/mkfs.cramfs.c') diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index 9bb9153d8..519363419 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -665,7 +665,7 @@ static unsigned int write_file(char *file, char *base, unsigned int offset) memcpy(base + offset, buf, image_length); munmap(buf, image_length); if (close (fd) < 0) - err(MKFS_ERROR, _("closing file %s"), file); + err(MKFS_ERROR, _("cannot close file %s"), file); /* Pad up the image_length to a 4-byte boundary */ while (image_length & 3) { *(base + offset + image_length) = '\0'; -- cgit v1.2.3-55-g7522