diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 15:57:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 15:57:44 +0100 |
commit | 60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (patch) | |
tree | 493e30821f3d484b7395ce9d9e4be39ec9a43126 /util-linux/fdisk_osf.c | |
parent | b8173b603f57dcf918a67f1ec00763ab5f4e1cf8 (diff) | |
download | busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.gz busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.bz2 busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.zip |
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fdisk_osf.c')
-rw-r--r-- | util-linux/fdisk_osf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util-linux/fdisk_osf.c b/util-linux/fdisk_osf.c index 65e6bd7c4..ff16389bd 100644 --- a/util-linux/fdisk_osf.c +++ b/util-linux/fdisk_osf.c | |||
@@ -898,8 +898,7 @@ xbsd_initlabel(struct partition *p) | |||
898 | pp->p_fstype = BSD_FS_UNUSED; | 898 | pp->p_fstype = BSD_FS_UNUSED; |
899 | #else | 899 | #else |
900 | d->d_npartitions = 3; | 900 | d->d_npartitions = 3; |
901 | pp = &d->d_partitions[2]; /* Partition C should be | 901 | pp = &d->d_partitions[2]; /* Partition C should be the whole disk */ |
902 | the whole disk */ | ||
903 | pp->p_offset = 0; | 902 | pp->p_offset = 0; |
904 | pp->p_size = d->d_secperunit; | 903 | pp->p_size = d->d_secperunit; |
905 | pp->p_fstype = BSD_FS_UNUSED; | 904 | pp->p_fstype = BSD_FS_UNUSED; |
@@ -935,7 +934,7 @@ xbsd_readlabel(struct partition *p) | |||
935 | fdisk_fatal(unable_to_read); | 934 | fdisk_fatal(unable_to_read); |
936 | 935 | ||
937 | memmove(d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET], | 936 | memmove(d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET], |
938 | sizeof(struct xbsd_disklabel)); | 937 | sizeof(struct xbsd_disklabel)); |
939 | 938 | ||
940 | if (d->d_magic != BSD_DISKMAGIC || d->d_magic2 != BSD_DISKMAGIC) | 939 | if (d->d_magic != BSD_DISKMAGIC || d->d_magic2 != BSD_DISKMAGIC) |
941 | return 0; | 940 | return 0; |