diff options
Diffstat (limited to '')
-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) { |