summaryrefslogtreecommitdiff
path: root/busybox/busybox-1.00-rc1/silence-hwclock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/busybox-1.00-rc1/silence-hwclock.patch')
-rw-r--r--busybox/busybox-1.00-rc1/silence-hwclock.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/busybox/busybox-1.00-rc1/silence-hwclock.patch b/busybox/busybox-1.00-rc1/silence-hwclock.patch
new file mode 100644
index 0000000000..3388e8b611
--- /dev/null
+++ b/busybox/busybox-1.00-rc1/silence-hwclock.patch
@@ -0,0 +1,15 @@
+--- busybox-1.00-pre2/util-linux/hwclock.c~silence-hwclock
++++ busybox-1.00-pre2/util-linux/hwclock.c
+@@ -114,12 +114,8 @@
+ 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" );