rpms/s390utils/devel s390-tools-1.5.3-automenu.patch,1.1,1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 13 10:18:27 UTC 2006


Author: pknirsch

Update of /cvs/dist/rpms/s390utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20026

Modified Files:
	s390-tools-1.5.3-automenu.patch 
Log Message:
- Fixed new patch (forgot a })


s390-tools-1.5.3-automenu.patch:
 man/zipl.8 |    7 +++
 src/job.c  |  138 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 src/scan.c |    4 -
 src/zipl.c |    1 
 4 files changed, 144 insertions(+), 6 deletions(-)

Index: s390-tools-1.5.3-automenu.patch
===================================================================
RCS file: /cvs/dist/rpms/s390utils/devel/s390-tools-1.5.3-automenu.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- s390-tools-1.5.3-automenu.patch	12 Sep 2006 16:24:41 -0000	1.1
+++ s390-tools-1.5.3-automenu.patch	13 Sep 2006 10:18:24 -0000	1.2
@@ -79,13 +79,13 @@
  		job->id = job_ipl;
  		/* Fill in name of bootmap directory */
 -		job->bootmap_dir = misc_strdup(data[(int) scan_keyword_target]);
-+		if (data[(int) scan_keyword_target] == NULL)
++		if (data[(int) scan_keyword_target] == NULL) {
 +			if (default_target == NULL) {
 +				error_text("Unable to find default section in your config file.");
 +				break;
 +			}
 +			job->bootmap_dir = misc_strdup(default_target);
-+		else
++		} else
 +			job->bootmap_dir = misc_strdup(data[(int) scan_keyword_target]);
  		if (job->bootmap_dir == NULL)
  			return -1;




More information about the fedora-cvs-commits mailing list