From: Karel Zak Date: Tue, 9 Jan 2024 12:05:30 +0000 (+0100) Subject: losetup: improve "sector boundary" warning X-Git-Tag: v2.40-rc1~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f3f22438234b626c388f336d637905aaf12dbd2;p=thirdparty%2Futil-linux.git losetup: improve "sector boundary" warning Fixes: https://github.com/util-linux/util-linux/issues/2689 Signed-off-by: Karel Zak --- diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index 7233adf1ca..7134542c4c 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -530,8 +530,8 @@ static void warn_size(const char *filename, uint64_t size, uint64_t offset, int "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; " - "the end of the file will be ignored."), + warnx(_("%s: Warning: file does not end on a 512-byte sector boundary; " + "the remaining end of the file will be ignored."), filename); }