From 01672f838bdb4f46006b6276b35d912a3ab70743 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 24 Aug 2006 15:56:51 +0000 Subject: [PATCH] - Fixed warnings in selinux patch (bug #203166). --- coreutils-selinux.patch | 4 ++-- coreutils.spec | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/coreutils-selinux.patch b/coreutils-selinux.patch index 1f27f66..e412c62 100644 --- a/coreutils-selinux.patch +++ b/coreutils-selinux.patch @@ -1863,7 +1863,7 @@ + if(secure) + if (getfilecon(filename,&scontext)<0) { + perror (filename); -+ return; ++ return false; + } +#endif @@ -2079,7 +2079,7 @@ \n\ "), stdout); +#ifdef WITH_SELINUX -+ printf (_("\ ++ fputs (_("\ + -Z, --context=CONTEXT set security context (quoted string)\n\ +"), stdout); +#endif diff --git a/coreutils.spec b/coreutils.spec index 89e7820..d859876 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -281,6 +281,7 @@ fi %changelog * Thu Aug 24 2006 Tim Waugh +- Fixed warnings in selinux patch (bug #203166). - Fixed warnings in acl patch (bug #203166). * Wed Aug 23 2006 Tim Waugh 5.97-8