[apparmor] [PATCH 2/3] parser: Fix -Wformat-extra-args warning

Seth Arnold seth.arnold at canonical.com
Sat Feb 28 00:08:51 UTC 2015


On Fri, Feb 27, 2015 at 05:37:11PM -0600, Tyler Hicks wrote:
> Only present when building with DEBUG=1.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

Acked-by: Seth Arnold <seth.arnold at canonical.com>
for both trunk and 2.9 as you see fit.

Thanks

> ---
>  parser/parser_misc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/parser/parser_misc.c b/parser/parser_misc.c
> index fdd364a..fcee5ef 100644
> --- a/parser/parser_misc.c
> +++ b/parser/parser_misc.c
> @@ -537,7 +537,7 @@ static int parse_X_sub_mode(const char *X, const char *str_mode, int *result, in
>  	int mode = 0;
>  	const char *p;
>  
> -	PDEBUG("Parsing X mode: %s\n", X, str_mode);
> +	PDEBUG("Parsing %s mode: %s\n", X, str_mode);
>  
>  	if (!str_mode)
>  		return 0;
> -- 
> 2.1.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150227/eb486ee1/attachment.pgp>


More information about the AppArmor mailing list