Re: [PATCH] Fix -Wformat errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
> 
> 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.
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux