mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 15:54:56 +00:00
Removed some debug printfs
This commit is contained in:
parent
b79db92a21
commit
444566837c
@ -114,13 +114,9 @@ void write_rtc ( time_t t, int utc )
|
||||
bb_perror_msg_and_die ( "Could not access RTC" );
|
||||
}
|
||||
|
||||
printf ( "1\n" );
|
||||
|
||||
tm = *( utc ? gmtime ( &t ) : localtime ( &t ));
|
||||
tm. tm_isdst = 0;
|
||||
|
||||
printf ( "2\n") ;
|
||||
|
||||
if ( ioctl ( rtc, RTC_SET_TIME, &tm ) < 0 )
|
||||
bb_perror_msg_and_die ( "Could not set the RTC time" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user