summaryrefslogtreecommitdiffstats
path: root/disk-utils/fsck.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 /disk-utils/fsck.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 'disk-utils/fsck.c')
-rw-r--r--disk-utils/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c
index 19eabe349..00622c428 100644
--- a/disk-utils/fsck.c
+++ b/disk-utils/fsck.c
@@ -304,7 +304,7 @@ static int is_irrotational_disk(dev_t disk)
rc = fscanf(f, "%d", &x);
if (rc != 1) {
if (ferror(f))
- warn(_("failed to read: %s"), path);
+ warn(_("cannot read %s"), path);
else
warnx(_("parse error: %s"), path);
}