summaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-24 15:40:16 +0000
committerDenis Vlasenko2007-03-24 15:40:16 +0000
commit219d14d514ca4d31b4319af14e3a64b66fe2c233 (patch)
treea74e8ce7604ff932a3990de3065c167392e4b082 /util-linux/hwclock.c
parent644849a3aa0c834a942fb7777ec449d8098bcfc9 (diff)
downloadbusybox-219d14d514ca4d31b4319af14e3a64b66fe2c233.zip
busybox-219d14d514ca4d31b4319af14e3a64b66fe2c233.tar.gz
random style fixes (extra spaces deleted)
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r--util-linux/hwclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 86235e9..4ca8eaf 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -61,7 +61,7 @@ static time_t read_rtc(int utc)
int rtc = xopen_rtc(O_RDONLY);
memset(&tm, 0, sizeof(struct tm));
- if (ioctl(rtc, RTC_RD_TIME, &tm) < 0 )
+ if (ioctl(rtc, RTC_RD_TIME, &tm) < 0)
bb_perror_msg_and_die("cannot read time from RTC");
tm.tm_isdst = -1; /* not known */
@@ -165,7 +165,7 @@ static int check_utc(void)
buffer[len] = 0;
- if (strncmp(buffer, "UTC", 3) == 0 ) {
+ if (strncmp(buffer, "UTC", 3) == 0) {
utc = 1;
break;
}