Re: [PATCH] Fix -Wformat-security warning in libgfortran

2016-01-15 Thread Paul Richard Thomas
Hi Jakub, Of course, that's OK; obvious even - good for trunk. Thanks Paul On 15 January 2016 at 21:07, Jakub Jelinek wrote: > Hi! > > In our gcc package build, libgfortran is built with -Werror=format-security > and errors on this file. While it is a false positive, because > cmdmsg_values[i

[PATCH] Fix -Wformat-security warning in libgfortran

2016-01-15 Thread Jakub Jelinek
Hi! In our gcc package build, libgfortran is built with -Werror=format-security and errors on this file. While it is a false positive, because cmdmsg_values[i] for any valid i don't contain % characters, IMNSHO it is better to use "%s", msg anyway to make it clear that msg should not be interpret