- Fix a compiler warning which is causing build errors (#532425)
This commit is contained in:
parent
7061b8af36
commit
54768cc1d5
@ -434,10 +434,11 @@ diff -ur parted-1.9.0.orig/libparted/labels/dasd.c parted-1.9.0/libparted/labels
|
|||||||
static void
|
static void
|
||||||
dasd_partition_destroy (PedPartition* part)
|
dasd_partition_destroy (PedPartition* part)
|
||||||
{
|
{
|
||||||
@@ -650,8 +662,9 @@
|
@@ -650,9 +662,9 @@
|
||||||
|
static PedAlignment*
|
||||||
dasd_get_partition_alignment(const PedDisk *disk)
|
dasd_get_partition_alignment(const PedDisk *disk)
|
||||||
{
|
{
|
||||||
DasdDiskSpecific* disk_specific = disk->disk_specific;
|
- DasdDiskSpecific* disk_specific = disk->disk_specific;
|
||||||
+ LinuxSpecific *arch_specific = LINUX_SPECIFIC(disk->dev);
|
+ LinuxSpecific *arch_specific = LINUX_SPECIFIC(disk->dev);
|
||||||
PedSector sector_size =
|
PedSector sector_size =
|
||||||
- disk_specific->real_sector_size / disk->dev->sector_size;
|
- disk_specific->real_sector_size / disk->dev->sector_size;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Summary: The GNU disk partition manipulation program
|
Summary: The GNU disk partition manipulation program
|
||||||
Name: parted
|
Name: parted
|
||||||
Version: 1.9.0
|
Version: 1.9.0
|
||||||
Release: 20%{?dist}
|
Release: 21%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.gnu.org/software/parted
|
URL: http://www.gnu.org/software/parted
|
||||||
@ -147,6 +147,9 @@ fi
|
|||||||
%{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc
|
%{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 6 2009 Hans de Goede <hdegoede@redhat.com> 1.9.0-21
|
||||||
|
- Fix a compiler warning which is causing build errors (#532425)
|
||||||
|
|
||||||
* Tue Nov 3 2009 Hans de Goede <hdegoede@redhat.com> 1.9.0-20
|
* Tue Nov 3 2009 Hans de Goede <hdegoede@redhat.com> 1.9.0-20
|
||||||
- Fix error when creating a fresh dasd disk (#532425)
|
- Fix error when creating a fresh dasd disk (#532425)
|
||||||
- Rewrite dasd disk duplication patches, as the old old ones conflicted
|
- Rewrite dasd disk duplication patches, as the old old ones conflicted
|
||||||
|
Loading…
Reference in New Issue
Block a user