aboutsummaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
authorsandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-08-26 11:06:39 +0000
committersandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-08-26 11:06:39 +0000
commit5659b05d8677855e578a6dea9e537aeae0cbe56d (patch)
treef87dc90aaef0491116d24b9110d094e6f96eb66f /util-linux/hwclock.c
parent6969ddb24049ce2c42519f7fc10659c322874fe9 (diff)
downloadbusybox-w32-5659b05d8677855e578a6dea9e537aeae0cbe56d.tar.gz
busybox-w32-5659b05d8677855e578a6dea9e537aeae0cbe56d.tar.bz2
busybox-w32-5659b05d8677855e578a6dea9e537aeae0cbe56d.zip
Removed some debug printfs
git-svn-id: svn://busybox.net/trunk/busybox@7264 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 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