diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/hwclock.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 2eee3cfdb..4c59ef055 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c | |||
@@ -114,13 +114,9 @@ void write_rtc ( time_t t, int utc ) | |||
114 | bb_perror_msg_and_die ( "Could not access RTC" ); | 114 | bb_perror_msg_and_die ( "Could not access RTC" ); |
115 | } | 115 | } |
116 | 116 | ||
117 | printf ( "1\n" ); | ||
118 | |||
119 | tm = *( utc ? gmtime ( &t ) : localtime ( &t )); | 117 | tm = *( utc ? gmtime ( &t ) : localtime ( &t )); |
120 | tm. tm_isdst = 0; | 118 | tm. tm_isdst = 0; |
121 | 119 | ||
122 | printf ( "2\n") ; | ||
123 | |||
124 | if ( ioctl ( rtc, RTC_SET_TIME, &tm ) < 0 ) | 120 | if ( ioctl ( rtc, RTC_SET_TIME, &tm ) < 0 ) |
125 | bb_perror_msg_and_die ( "Could not set the RTC time" ); | 121 | bb_perror_msg_and_die ( "Could not set the RTC time" ); |
126 | 122 | ||