commit | 5299580c1ced39e7a6d7ac2717a3d6a3cab299b0 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Jan 20 13:05:25 2009 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Jan 20 13:05:25 2009 -0500 |
tree | 386dba123dc885ca156203e93f9520c5e4b22161 | |
parent | 31e2a75484816db0e5e68afacb13beef7e751061 [diff] |
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>