]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mkfs.cramfs: use standard error message
authorKarel Zak <kzak@redhat.com>
Tue, 14 May 2013 21:54:07 +0000 (23:54 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 May 2013 21:54:07 +0000 (23:54 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkfs.cramfs.c

index cb3e65758b16efef6a4fe522f817b7b08c91b390..23dcfeff9885ae951395c23d3cee49b7d3c12a5d 100644 (file)
@@ -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;
        }