From: Benno Schulenberg Date: Mon, 10 Feb 2025 12:35:29 +0000 (+0100) Subject: blkzone: improve the wording of an error message X-Git-Tag: v2.42-start~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8179f69eec2f04be47607d89349505ab7d6ec6be;p=thirdparty%2Futil-linux.git blkzone: improve the wording of an error message Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/blkzone.c b/sys-utils/blkzone.c index 9e648484b..7e9ae6e71 100644 --- a/sys-utils/blkzone.c +++ b/sys-utils/blkzone.c @@ -149,7 +149,7 @@ static int init_device(struct blkzone_control *ctl, int mode) errx(EXIT_FAILURE, _("%s: not a block device"), ctl->devname); if (blkdev_get_sectors(fd, (unsigned long long *) &ctl->total_sectors)) - err(EXIT_FAILURE, _("%s: blkdev_get_sectors() failed"), ctl->devname); + err(EXIT_FAILURE, _("%s: failed to get number of sectors"), ctl->devname); if (blkdev_get_sector_size(fd, &ctl->secsize)) err(EXIT_FAILURE, _("%s: BLKSSZGET ioctl failed"), ctl->devname);