summaryrefslogtreecommitdiffstats
path: root/sys-utils/losetup.c
diff options
context:
space:
mode:
authorBenno Schulenberg2013-06-05 21:58:13 +0200
committerKarel Zak2013-06-07 12:29:44 +0200
commit97b820bffdd915893c7e6eeb9cbdcbf3388862fa (patch)
tree86b7415ce229d0113fbdf9d98d155458b07de2a5 /sys-utils/losetup.c
parentcal: fix few type mismatches (diff)
downloadkernel-qcow2-util-linux-97b820bffdd915893c7e6eeb9cbdcbf3388862fa.tar.gz
kernel-qcow2-util-linux-97b820bffdd915893c7e6eeb9cbdcbf3388862fa.tar.xz
kernel-qcow2-util-linux-97b820bffdd915893c7e6eeb9cbdcbf3388862fa.zip
textual: improve clarity of some error messages
Reported-by: Petr Písař <petr.pisar@atlas.cz> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/losetup.c')
-rw-r--r--sys-utils/losetup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c
index 287761a3c..5dd3c6c3e 100644
--- a/sys-utils/losetup.c
+++ b/sys-utils/losetup.c
@@ -396,11 +396,11 @@ static void warn_size(const char *filename, uint64_t size)
}
if (size < 512)
- warnx(_("%s: warning: file smaller than 512 bytes, the loop device "
- "maybe be useless or invisible for system tools."),
+ warnx(_("%s: Warning: file is smaller than 512 bytes; the loop device "
+ "may be useless or invisible for system tools."),
filename);
else if (size % 512)
- warnx(_("%s: warning: file does not fit into a 512-byte sector "
+ warnx(_("%s: Warning: file does not fit into a 512-byte sector; "
"the end of the file will be ignored."),
filename);
}