summaryrefslogtreecommitdiffstats
path: root/sys-utils/setpriv.c
diff options
context:
space:
mode:
authorBenno Schulenberg2013-10-08 17:04:22 +0200
committerKarel Zak2013-10-09 11:37:38 +0200
commit47481cbd01819a6f387f6a2537f8ff1e4449deb0 (patch)
tree6dfafa51f6b490e329021a3d3acd7b39e1acdfb6 /sys-utils/setpriv.c
parenttests: use 'btrfs' rather than 'btrfsctl' (diff)
downloadkernel-qcow2-util-linux-47481cbd01819a6f387f6a2537f8ff1e4449deb0.tar.gz
kernel-qcow2-util-linux-47481cbd01819a6f387f6a2537f8ff1e4449deb0.tar.xz
kernel-qcow2-util-linux-47481cbd01819a6f387f6a2537f8ff1e4449deb0.zip
textual: standardize some "cannot read" and "seek failed" error messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/setpriv.c')
-rw-r--r--sys-utils/setpriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/setpriv.c b/sys-utils/setpriv.c
index a5727361a..c3f2a8b82 100644
--- a/sys-utils/setpriv.c
+++ b/sys-utils/setpriv.c
@@ -230,7 +230,7 @@ static void dump_label(const char *name)
close(fd);
if (len < 0) {
errno = e;
- warn(_("read failed: %s"), name);
+ warn(_("cannot read %s"), name);
return;
}
if (sizeof(buf) - 1 <= (size_t)len) {