summaryrefslogtreecommitdiffstats
path: root/disk-utils/mkfs.cramfs.c
diff options
context:
space:
mode:
authorKarel Zak2013-05-14 23:54:07 +0200
committerKarel Zak2013-05-14 23:54:07 +0200
commit28b856ff886a5aa3024124f92610137fa04879ac (patch)
tree76bbdd2a15f106ae45b077ad78b8ef1f486ff93d /disk-utils/mkfs.cramfs.c
parenthwclock: use warn() to print cmos errors (diff)
downloadkernel-qcow2-util-linux-28b856ff886a5aa3024124f92610137fa04879ac.tar.gz
kernel-qcow2-util-linux-28b856ff886a5aa3024124f92610137fa04879ac.tar.xz
kernel-qcow2-util-linux-28b856ff886a5aa3024124f92610137fa04879ac.zip
mkfs.cramfs: use standard error message
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/mkfs.cramfs.c')
-rw-r--r--disk-utils/mkfs.cramfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c
index cb3e65758..23dcfeff9 100644
--- a/disk-utils/mkfs.cramfs.c
+++ b/disk-utils/mkfs.cramfs.c
@@ -161,7 +161,7 @@ do_mmap(char *path, unsigned int size, unsigned int mode){
fd = open(path, O_RDONLY);
if (fd < 0) {
- warn(_("open failed: %s"), path);
+ warn(_("cannot open %s"), path);
warn_skip = 1;
goto err;
}