diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:22:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:22:57 +0000 |
commit | ce95875445c67808caa5d4fb0e6f80dbdaef0cb7 (patch) | |
tree | 6da8cbc66ef15086c9d295e4abe733b24818551e /sys-utils/hwclock-rtc.c | |
parent | Adding upstream version 2.40. (diff) | |
download | util-linux-upstream/2.40.1.tar.xz util-linux-upstream/2.40.1.zip |
Adding upstream version 2.40.1.upstream/2.40.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sys-utils/hwclock-rtc.c')
-rw-r--r-- | sys-utils/hwclock-rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/hwclock-rtc.c b/sys-utils/hwclock-rtc.c index 113d4e8..659a7a7 100644 --- a/sys-utils/hwclock-rtc.c +++ b/sys-utils/hwclock-rtc.c @@ -505,7 +505,7 @@ int set_param_rtc(const struct hwclock_control *ctl, const char *opt0) rtc_fd = open_rtc(ctl); if (rtc_fd < 0) { warnx(_("cannot open %s"), rtc_dev_name); - return 1; + goto done; } if (ioctl(rtc_fd, RTC_PARAM_SET, ¶m) == -1) { |