]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: fix typo RTC_RD_NAME -> RTC_RD_TIME in error message
authorKarel Zak <kzak@redhat.com>
Wed, 24 Jun 2026 11:27:04 +0000 (13:27 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 24 Jun 2026 11:27:04 +0000 (13:27 +0200)
Addresses: https://github.com/util-linux/util-linux/pull/4376

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/hwclock-rtc.c

index a210eac941a95b95d8e96ea794e63a593dd66f84..f8518c30c7412ca7945960c6ffa1ac66b2e048e7 100644 (file)
@@ -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;
        }