diff options
author | Sami Kerola | 2014-12-07 11:13:03 +0100 |
---|---|---|
committer | Karel Zak | 2014-12-09 09:19:22 +0100 |
commit | 338a6bc55b277598fb9e63a42f442d026b255e59 (patch) | |
tree | ab1d173f7706858e7803653fe4a5571f0106f661 /disk-utils/mkfs.cramfs.c | |
parent | login-utils: use libc error printing facility (diff) | |
download | kernel-qcow2-util-linux-338a6bc55b277598fb9e63a42f442d026b255e59.tar.gz kernel-qcow2-util-linux-338a6bc55b277598fb9e63a42f442d026b255e59.tar.xz kernel-qcow2-util-linux-338a6bc55b277598fb9e63a42f442d026b255e59.zip |
textual: improve error messages
Use error printing facilities that add command name in front of the error
message, and add explanation that is part of existing translations.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'disk-utils/mkfs.cramfs.c')
-rw-r--r-- | disk-utils/mkfs.cramfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index bae68ecb3..509b50b9d 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -328,7 +328,7 @@ static unsigned int parse_directory(struct entry *root_entry, const char *name, memcpy(endpath, dirent->d_name, namelen + 1); if (lstat(path, &st) < 0) { - perror(endpath); + warn(_("stat failed %s"), endpath); warn_skip = 1; continue; } |