]> granicus.if.org Git - sysstat/commit
Fixed a fatal error when compiled with -Werror=format-security.
authorseb <seb@kluane.home>
Sun, 30 Sep 2012 14:12:54 +0000 (16:12 +0200)
committerseb <seb@kluane.home>
Sun, 30 Sep 2012 14:12:54 +0000 (16:12 +0200)
commit35ae2a4e0b1bfc7207f7ec8f8a63658710ebacb7
tree3bc6a91056792a07a9b71bdfc5d96719305f5665
parentbd2e6e4a359b47249829daf2ac5cc82fbdda2327
Fixed a fatal error when compiled with -Werror=format-security.

This change is a workaround a fatal error that we get when compiling
sysstat with -Werror=format-securit.

Mail from Guillaume Rousse (guillomovitch@gmail.com) 30/07/2012:

Voici un patch que j'ai retrouvé dans le package mageia de sysstat, qui corrige une erreur d'utilisation de printf (fatale avec les options -Wformat -Werror=format-security).
[...]

(Following patch doesn't work properly).
CHANGES
rndr_stats.c