From 6f3f22438234b626c388f336d637905aaf12dbd2 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 9 Jan 2024 13:05:30 +0100 Subject: [PATCH] losetup: improve "sector boundary" warning Fixes: https://github.com/util-linux/util-linux/issues/2689 Signed-off-by: Karel Zak --- sys-utils/losetup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.47.3