From: Stephen Smalley <sds@tycho.nsa.gov>
To: Petr Lautrbach <plautrba@redhat.com>, selinux@tycho.nsa.gov
Subject: Re: [PATCH] Fix -Wformat errors
Date: Fri, 13 Mar 2015 14:16:58 -0400 [thread overview]
Message-ID: <5503299A.9000305@tycho.nsa.gov> (raw)
In-Reply-To: <1426258449-32271-1-git-send-email-plautrba@redhat.com>
On 03/13/2015 10:54 AM, Petr Lautrbach wrote:
> Fixes two types of errors which appear when building with gcc-5.0.0
>
> - format ‘%d’ expects argument of type ‘int’, but argument X has type ‘unsigned int’
> - format ‘%a’ expects argument of type ‘float *’, but argument X has type ‘char **’
>
> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
> ---
>
> In the original patch I accidentally dropped one line fix in newrole.c
> This patch is complete and make passes.
>
>
> libselinux/src/avc.c | 4 ++--
> libselinux/src/avc_internal.c | 6 +++---
> libselinux/src/avc_sidtab.c | 2 +-
> libselinux/src/label_android_property.c | 8 ++++----
> libselinux/src/label_db.c | 6 +++---
> libselinux/src/label_file.c | 8 ++++----
> libselinux/src/label_media.c | 4 ++--
> libselinux/src/label_x.c | 6 +++---
> libselinux/src/matchpathcon.c | 2 +-
> libselinux/utils/sefcontext_compile.c | 2 +-
> libselinux/utils/togglesebool.c | 2 +-
> policycoreutils/newrole/newrole.c | 4 ++--
> 12 files changed, 27 insertions(+), 27 deletions(-)
Thanks, applied.
prev parent reply other threads:[~2015-03-13 18:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 12:55 [PATCH] Fix -Wformat errors Petr Lautrbach
2015-03-13 13:03 ` Stephen Smalley
2015-03-13 13:37 ` Petr Lautrbach
2015-03-13 13:40 ` Stephen Smalley
2015-03-13 14:54 ` Petr Lautrbach
2015-03-13 18:16 ` Stephen Smalley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5503299A.9000305@tycho.nsa.gov \
--to=sds@tycho.nsa.gov \
--cc=plautrba@redhat.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.