From: Benno Schulenberg Date: Sun, 9 Feb 2025 08:23:26 +0000 (+0100) Subject: blkzone: correct the wording of an error message, from ioctl to function X-Git-Tag: v2.42-start~51^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5bc7d74bf3622e7b48f86b9f472685de9a4bbd5;p=thirdparty%2Futil-linux.git blkzone: correct the wording of an error message, from ioctl to function Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/blkzone.c b/sys-utils/blkzone.c index 843f3c7b0..9e648484b 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 ioctl failed"), ctl->devname); + err(EXIT_FAILURE, _("%s: blkdev_get_sectors() failed"), ctl->devname); if (blkdev_get_sector_size(fd, &ctl->secsize)) err(EXIT_FAILURE, _("%s: BLKSSZGET ioctl failed"), ctl->devname);