whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b8173b603f
commit
60cb48ca50
59 changed files with 233 additions and 219 deletions
|
@ -898,8 +898,7 @@ xbsd_initlabel(struct partition *p)
|
|||
pp->p_fstype = BSD_FS_UNUSED;
|
||||
#else
|
||||
d->d_npartitions = 3;
|
||||
pp = &d->d_partitions[2]; /* Partition C should be
|
||||
the whole disk */
|
||||
pp = &d->d_partitions[2]; /* Partition C should be the whole disk */
|
||||
pp->p_offset = 0;
|
||||
pp->p_size = d->d_secperunit;
|
||||
pp->p_fstype = BSD_FS_UNUSED;
|
||||
|
@ -935,7 +934,7 @@ xbsd_readlabel(struct partition *p)
|
|||
fdisk_fatal(unable_to_read);
|
||||
|
||||
memmove(d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
|
||||
sizeof(struct xbsd_disklabel));
|
||||
sizeof(struct xbsd_disklabel));
|
||||
|
||||
if (d->d_magic != BSD_DISKMAGIC || d->d_magic2 != BSD_DISKMAGIC)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue