rpms/util-linux/devel util-linux-2.13-mkswap-selinux.patch,1.2,1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Mar 9 10:47:48 UTC 2006


Author: kzak

Update of /cvs/dist/rpms/util-linux/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13612

Modified Files:
	util-linux-2.13-mkswap-selinux.patch 
Log Message:
cosmetic change to mkswap selinux patch

util-linux-2.13-mkswap-selinux.patch:
 Makefile.am |    9 ++++++++-
 mkswap.c    |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)

Index: util-linux-2.13-mkswap-selinux.patch
===================================================================
RCS file: /cvs/dist/rpms/util-linux/devel/util-linux-2.13-mkswap-selinux.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- util-linux-2.13-mkswap-selinux.patch	8 Mar 2006 17:04:34 -0000	1.2
+++ util-linux-2.13-mkswap-selinux.patch	9 Mar 2006 10:47:44 -0000	1.3
@@ -35,7 +35,7 @@
 +
 +		if ((fgetfilecon(DEV, &oldcontext) < 0) && 
 +		    (errno != ENODATA)) {
-+			fprintf(stderr, "%s: %s: unable to obtain selinux file label: %s\n",
++			fprintf(stderr, _("%s: %s: unable to obtain selinux file label: %s\n"),
 +					program_name, device_name, 
 +					strerror(errno));
 +			exit(1);
@@ -49,7 +49,7 @@
 +		
 +		if (strcmp(context_string, oldcontext)!=0) {
 +			if (fsetfilecon(DEV, context_string)) {
-+				fprintf(stderr, "%s: unable to relabel %s to %s: %s\n",
++				fprintf(stderr, _("%s: unable to relabel %s to %s: %s\n"),
 +						program_name, device_name, 
 +						context_string,
 +						strerror(errno));




More information about the fedora-cvs-commits mailing list