Whamcloud - gitweb
Use format strings directly to prevent -Werror=format-security failures
authorTheodore Ts'o <tytso@mit.edu>
Tue, 20 Jan 2009 18:05:25 +0000 (13:05 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 Jan 2009 18:05:25 +0000 (13:05 -0500)
commit5299580c1ced39e7a6d7ac2717a3d6a3cab299b0
tree386dba123dc885ca156203e93f9520c5e4b22161
parent31e2a75484816db0e5e68afacb13beef7e751061
Use format strings directly to prevent -Werror=format-security failures

Gcc is too stupid to realize that:

    const char *usage="String which has no percent signs";

    com_err(progname, 0, usage);

is OK.  I refuse to bow to stupidity with:

   com_err(progname, 0, "%s", usage);

but I will use the string directly for the sake of people who like to
build with -Werror=format-security.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/dump.c
lib/ss/test_ss.c
tests/progs/test_icount.c