diff options
author | Denis Vlasenko | 2007-01-11 17:20:00 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-11 17:20:00 +0000 |
commit | f7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch) | |
tree | af4e797eef0a65f4e3dba94b325da0ec08452d36 /util-linux | |
parent | 3821fb13ea404d243115ff8ec161273b62826513 (diff) | |
download | busybox-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.zip busybox-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz |
Trailing whitespace removal over entire tree
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fdisk_sun.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/util-linux/fdisk_sun.c b/util-linux/fdisk_sun.c index a3ca66f..1010778 100644 --- a/util-linux/fdisk_sun.c +++ b/util-linux/fdisk_sun.c @@ -71,7 +71,7 @@ static const struct systypes sun_sys_types[] = { { "\x83" "Linux native" }, /* LINUX_NATIVE */ { "\x8e" "Linux LVM" }, /* 0x8e */ /* New (2.2.x) raid partition with autodetect using persistent superblock */ - { "\xfd" "Linux raid autodetect" }, /* 0xfd */ + { "\xfd" "Linux raid autodetect" }, /* 0xfd */ { NULL } }; @@ -167,7 +167,7 @@ sun_autoconfigure_scsi(void) if (ioctl(fd, SCSI_IOCTL_GET_IDLUN, &id)) return NULL; - + sprintf(buffer, "Host: scsi%d Channel: %02d Id: %02d Lun: %02d\n", /* This is very wrong (works only if you have one HBA), @@ -651,14 +651,14 @@ sun_list_table(int xtra) uint32_t start = SUN_SSWAP32(sunlabel->partitions[i].start_cylinder) * heads * sectors; uint32_t len = SUN_SSWAP32(sunlabel->partitions[i].num_sectors); printf("%s %c%c %9ld %9ld %9ld%c %2x %s\n", - partname(disk_device, i+1, w), /* device */ - (sunlabel->infos[i].flags & 0x01) ? 'u' : ' ', /* flags */ - (sunlabel->infos[i].flags & 0x10) ? 'r' : ' ', - (long) scround(start), /* start */ - (long) scround(start+len), /* end */ - (long) len / 2, len & 1 ? '+' : ' ', /* odd flag on end */ - sunlabel->infos[i].id, /* type id */ - partition_type(sunlabel->infos[i].id)); /* type name */ + partname(disk_device, i+1, w), /* device */ + (sunlabel->infos[i].flags & 0x01) ? 'u' : ' ', /* flags */ + (sunlabel->infos[i].flags & 0x10) ? 'r' : ' ', + (long) scround(start), /* start */ + (long) scround(start+len), /* end */ + (long) len / 2, len & 1 ? '+' : ' ', /* odd flag on end */ + sunlabel->infos[i].id, /* type id */ + partition_type(sunlabel->infos[i].id)); /* type name */ } } } |