- Fix a typo in the errno patch
This commit is contained in:
parent
6425de141b
commit
1027857575
@ -1,4 +1,4 @@
|
||||
From fd2df92bbaaa5926b0c67916a5947af102cac20c Mon Sep 17 00:00:00 2001
|
||||
From 72866a8b24da93e982142304c614d08bae5589c7 Mon Sep 17 00:00:00 2001
|
||||
From: Joel Granados Moreno <jgranado@redhat.com>
|
||||
Date: Thu, 11 Jun 2009 17:05:39 +0200
|
||||
Subject: [PATCH] return errro on push or pop update mode.
|
||||
@ -8,7 +8,7 @@ Subject: [PATCH] return errro on push or pop update mode.
|
||||
1 files changed, 56 insertions(+), 29 deletions(-)
|
||||
|
||||
diff --git a/libparted/disk.c b/libparted/disk.c
|
||||
index 3269b9d..6884c83 100644
|
||||
index 5fb8060..8bab741 100644
|
||||
--- a/libparted/disk.c
|
||||
+++ b/libparted/disk.c
|
||||
@@ -54,8 +54,8 @@
|
||||
@ -31,7 +31,7 @@ index 3269b9d..6884c83 100644
|
||||
+ goto error_destroy_new_part;
|
||||
ret = _disk_raw_add (disk, new_part);
|
||||
- _disk_pop_update_mode (disk);
|
||||
+ if (_disk_pop_update_mode (disk))
|
||||
+ if (!_disk_pop_update_mode (disk))
|
||||
+ goto error_destroy_new_part;
|
||||
if (!ret)
|
||||
goto error_destroy_new_part;
|
||||
@ -276,5 +276,5 @@ index 3269b9d..6884c83 100644
|
||||
}
|
||||
|
||||
--
|
||||
1.6.0.6
|
||||
1.6.3.3
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: The GNU disk partition manipulation program
|
||||
Name: parted
|
||||
Version: 1.9.0
|
||||
Release: 2.20090610git32dc%{?dist}
|
||||
Release: 3.20090610git32dc%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/System
|
||||
URL: http://www.gnu.org/software/parted
|
||||
@ -128,6 +128,9 @@ fi
|
||||
%{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc
|
||||
|
||||
%changelog
|
||||
* Sat Jul 18 2009 Lubomir Rintel <lkundrak@v3.sk> - 1.9.0-3.20090610git32dc
|
||||
- Fix a typo in the errno patch
|
||||
|
||||
* Mon Jul 13 2009 Joel Granados <jgranado@redhat.com> - 1.9.0-2.20090610git32dc
|
||||
- Correctly number the snapshot.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user