Re: [PATCH] btrfs-progs: fix a printf format string fatal warning

2019-07-22 Thread David Sterba
On Sun, Jul 14, 2019 at 01:14:54AM +0200, Adam Borowski wrote: > At least in Debian, default build flags include -Werror=format-security, > for good reasons in most cases. Here, the string comes from strftime -- > and though I don't suspect any locale would be crazy enough to have %X > include a '

[PATCH] btrfs-progs: fix a printf format string fatal warning

2019-07-13 Thread Adam Borowski
At least in Debian, default build flags include -Werror=format-security, for good reasons in most cases. Here, the string comes from strftime -- and though I don't suspect any locale would be crazy enough to have %X include a '%' char, the compiler has no way to know that. Signed-off-by: Adam Bor