aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
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)
static void
sgi_change_sysid(int i, int sys)
{
- if (sgi_get_num_sectors(i) == 0 ) { /* caught already before, ... */
+ if (sgi_get_num_sectors(i) == 0) { /* caught already before, ... */
printf("Sorry you may change the Tag of non-empty partitions\n");
return;
}
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)
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;
}