From: Benno Schulenberg Date: Wed, 10 Aug 2011 18:55:48 +0000 (+0200) Subject: mkfs.cramfs: clearer error message, "cannot close" instead of "closing" X-Git-Tag: v2.20-rc2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f770a404bf6b28fed610c038e023b0ae606a9d69;p=thirdparty%2Futil-linux.git mkfs.cramfs: clearer error message, "cannot close" instead of "closing" Signed-off-by: Benno Schulenberg --- diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index 9bb9153d89..519363419c 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';