aboutsummaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /util-linux/hwclock.c
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip
just whitespace
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r--util-linux/hwclock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 5b990df0c..00abe10a6 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -67,7 +67,7 @@ static time_t read_rtc(int utc)
67 if (( rtc = open ( "/dev/misc/rtc", O_RDONLY )) < 0 ) 67 if (( rtc = open ( "/dev/misc/rtc", O_RDONLY )) < 0 )
68 bb_perror_msg_and_die ( "Could not access RTC" ); 68 bb_perror_msg_and_die ( "Could not access RTC" );
69 } 69 }
70 memset ( &tm, 0, sizeof( struct tm )); 70 memset ( &tm, 0, sizeof( struct tm ));
71 if ( ioctl ( rtc, RTC_RD_TIME, &tm ) < 0 ) 71 if ( ioctl ( rtc, RTC_RD_TIME, &tm ) < 0 )
72 bb_perror_msg_and_die ( "Could not read time from RTC" ); 72 bb_perror_msg_and_die ( "Could not read time from RTC" );
73 tm. tm_isdst = -1; // not known 73 tm. tm_isdst = -1; // not known
@@ -187,10 +187,10 @@ static int check_utc(void)
187} 187}
188 188
189#define HWCLOCK_OPT_LOCALTIME 0x01 189#define HWCLOCK_OPT_LOCALTIME 0x01
190#define HWCLOCK_OPT_UTC 0x02 190#define HWCLOCK_OPT_UTC 0x02
191#define HWCLOCK_OPT_SHOW 0x04 191#define HWCLOCK_OPT_SHOW 0x04
192#define HWCLOCK_OPT_HCTOSYS 0x08 192#define HWCLOCK_OPT_HCTOSYS 0x08
193#define HWCLOCK_OPT_SYSTOHC 0x10 193#define HWCLOCK_OPT_SYSTOHC 0x10
194 194
195extern int hwclock_main ( int argc, char **argv ) 195extern int hwclock_main ( int argc, char **argv )
196{ 196{