diff options
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r-- | util-linux/hwclock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 29f51021e..dc97d8fb4 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c | |||
@@ -132,7 +132,7 @@ static void to_sys_clock(const char **pp_rtcname, int utc) | |||
132 | tv.tv_sec = read_rtc(pp_rtcname, NULL, utc); | 132 | tv.tv_sec = read_rtc(pp_rtcname, NULL, utc); |
133 | tv.tv_usec = 0; | 133 | tv.tv_usec = 0; |
134 | if (settimeofday(&tv, &tz)) | 134 | if (settimeofday(&tv, &tz)) |
135 | bb_perror_msg_and_die("settimeofday"); | 135 | bb_simple_perror_msg_and_die("settimeofday"); |
136 | } | 136 | } |
137 | 137 | ||
138 | static void from_sys_clock(const char **pp_rtcname, int utc) | 138 | static void from_sys_clock(const char **pp_rtcname, int utc) |
@@ -284,7 +284,7 @@ static void set_system_clock_timezone(int utc) | |||
284 | if (!utc) | 284 | if (!utc) |
285 | tv.tv_sec += tz.tz_minuteswest * 60; | 285 | tv.tv_sec += tz.tz_minuteswest * 60; |
286 | if (settimeofday(&tv, &tz)) | 286 | if (settimeofday(&tv, &tz)) |
287 | bb_perror_msg_and_die("settimeofday"); | 287 | bb_simple_perror_msg_and_die("settimeofday"); |
288 | } | 288 | } |
289 | 289 | ||
290 | //usage:#define hwclock_trivial_usage | 290 | //usage:#define hwclock_trivial_usage |