Re: [PATCH] Fix a bunch of print format errors in gcc-5

2015-02-12 Thread Jakub Jelinek
On Thu, Feb 12, 2015 at 03:38:55PM +, David Howells wrote: > Here's a patch that inserts "%s", into a number of printf-format calls to > avoid: > > error: format not a string literal and no format arguments > [-Werror=format-security] > > and to avoid reads on uninitialised data s

[PATCH] Fix a bunch of print format errors in gcc-5

2015-02-12 Thread David Howells
Hi, Here's a patch that inserts "%s", into a number of printf-format calls to avoid: error: format not a string literal and no format arguments [-Werror=format-security] and to avoid reads on uninitialised data should a string with one or more "%" in it be processed. David ---