summaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
authorRobert Griebl2003-08-26 11:06:39 +0000
committerRobert Griebl2003-08-26 11:06:39 +0000
commit444566837c4b98f364fa486f9f288b0775ed3ed6 (patch)
treef87dc90aaef0491116d24b9110d094e6f96eb66f /util-linux/hwclock.c
parentb79db92a21aee4c003f49eb21f1447b79e0e0c1e (diff)
downloadbusybox-444566837c4b98f364fa486f9f288b0775ed3ed6.zip
busybox-444566837c4b98f364fa486f9f288b0775ed3ed6.tar.gz
Removed some debug printfs
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r--util-linux/hwclock.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 2eee3cf..4c59ef0 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -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" );