Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
parted
fix-error-informing-the-kernel.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-error-informing-the-kernel.patch of Package parted
--- libparted/arch/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: parted-3.1/libparted/arch/linux.c =================================================================== --- parted-3.1.orig/libparted/arch/linux.c +++ parted-3.1/libparted/arch/linux.c @@ -2370,7 +2370,7 @@ _blkpg_add_partition (PedDisk* disk, con linux_part.start = part->geom.start * disk->dev->sector_size; /* see fs/partitions/msdos.c:msdos_partition(): "leave room for LILO" */ if (part->type & PED_PARTITION_EXTENDED) - linux_part.length = part->geom.length == 1 ? 512 : 1024; + linux_part.length = PED_SECTOR_SIZE_DEFAULT; else linux_part.length = part->geom.length * disk->dev->sector_size; linux_part.pno = part->num;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor