From: Karel Zak Date: Wed, 24 Jun 2026 11:27:04 +0000 (+0200) Subject: hwclock: fix typo RTC_RD_NAME -> RTC_RD_TIME in error message X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f755b51b5a973a0df8970db0f28e480586962c2;p=thirdparty%2Futil-linux.git hwclock: fix typo RTC_RD_NAME -> RTC_RD_TIME in error message Addresses: https://github.com/util-linux/util-linux/pull/4376 Signed-off-by: Karel Zak --- diff --git a/sys-utils/hwclock-rtc.c b/sys-utils/hwclock-rtc.c index a210eac94..f8518c30c 100644 --- a/sys-utils/hwclock-rtc.c +++ b/sys-utils/hwclock-rtc.c @@ -157,7 +157,7 @@ static int do_rtc_read_ioctl(int rtc_fd, struct tm *tm) rc = ioctl(rtc_fd, RTC_RD_TIME, &rtc_tm); if (rc == -1) { - warn(_("ioctl(RTC_RD_NAME) to %s to read the time failed"), + warn(_("ioctl(RTC_RD_TIME) to %s to read the time failed"), rtc_dev_name); return -1; }