summaryrefslogtreecommitdiff
path: root/src/test_seeking
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2012-02-13 19:58:08 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2012-02-13 19:58:08 +1100
commita4ffcc0239cbf7384146f0d0e6770e1dbb1b58c4 (patch)
treeb1e0ceb3440b63caf2eba7d29625710a5f7f419a /src/test_seeking
parente38026a52c34008bcf9126f61ee63b58168facf9 (diff)
downloadflac-a4ffcc0239cbf7384146f0d0e6770e1dbb1b58c4.tar.gz
Fix -Werror=format-security errors.
Fixes "format not a string literal and no format arguments [-Werror=format-security]" errors. Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian. Closes Debian bug #643377.
Diffstat (limited to 'src/test_seeking')
-rw-r--r--src/test_seeking/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_seeking/main.c b/src/test_seeking/main.c
index d1f11d6e..589e8596 100644
--- a/src/test_seeking/main.c
+++ b/src/test_seeking/main.c
@@ -418,7 +418,7 @@ int main(int argc, char *argv[])
static const char * const usage = "usage: test_seeking file.flac [#seeks] [#samples-in-file.flac] [file.raw]\n";
if (argc < 2 || argc > 5) {
- fprintf(stderr, usage);
+ fprintf(stderr, "%s", usage);
return 1;
}