aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-24 15:40:16 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-24 15:40:16 +0000
commit219d14d514ca4d31b4319af14e3a64b66fe2c233 (patch)
treea74e8ce7604ff932a3990de3065c167392e4b082 /util-linux
parent644849a3aa0c834a942fb7777ec449d8098bcfc9 (diff)
downloadbusybox-w32-219d14d514ca4d31b4319af14e3a64b66fe2c233.tar.gz
busybox-w32-219d14d514ca4d31b4319af14e3a64b66fe2c233.tar.bz2
busybox-w32-219d14d514ca4d31b4319af14e3a64b66fe2c233.zip
random style fixes (extra spaces deleted)
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk_sgi.c2
-rw-r--r--util-linux/hwclock.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/fdisk_sgi.c b/util-linux/fdisk_sgi.c
index b2e0d7a62..b7e09f3c2 100644
--- a/util-linux/fdisk_sgi.c
+++ b/util-linux/fdisk_sgi.c
@@ -613,7 +613,7 @@ sgi_gaps(void)
613static void 613static void
614sgi_change_sysid(int i, int sys) 614sgi_change_sysid(int i, int sys)
615{ 615{
616 if (sgi_get_num_sectors(i) == 0 ) { /* caught already before, ... */ 616 if (sgi_get_num_sectors(i) == 0) { /* caught already before, ... */
617 printf("Sorry you may change the Tag of non-empty partitions\n"); 617 printf("Sorry you may change the Tag of non-empty partitions\n");
618 return; 618 return;
619 } 619 }
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 86235e989..4ca8eafad 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -61,7 +61,7 @@ static time_t read_rtc(int utc)
61 int rtc = xopen_rtc(O_RDONLY); 61 int rtc = xopen_rtc(O_RDONLY);
62 62
63 memset(&tm, 0, sizeof(struct tm)); 63 memset(&tm, 0, sizeof(struct tm));
64 if (ioctl(rtc, RTC_RD_TIME, &tm) < 0 ) 64 if (ioctl(rtc, RTC_RD_TIME, &tm) < 0)
65 bb_perror_msg_and_die("cannot read time from RTC"); 65 bb_perror_msg_and_die("cannot read time from RTC");
66 tm.tm_isdst = -1; /* not known */ 66 tm.tm_isdst = -1; /* not known */
67 67
@@ -165,7 +165,7 @@ static int check_utc(void)
165 165
166 buffer[len] = 0; 166 buffer[len] = 0;
167 167
168 if (strncmp(buffer, "UTC", 3) == 0 ) { 168 if (strncmp(buffer, "UTC", 3) == 0) {
169 utc = 1; 169 utc = 1;
170 break; 170 break;
171 } 171 }