summaryrefslogtreecommitdiff
path: root/fc-cat
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-03-28 16:27:46 +0900
committerAkira TAGOH <akira@tagoh.org>2012-03-28 16:27:46 +0900
commitfe6ba5e5c54928adeaf96668d0cf6f44f0484065 (patch)
treeefba4adacd702ac4f0e5c4a7891b5a6f4e6048c5 /fc-cat
parent4a060729a1466186d3be63ada344f43d66f937e5 (diff)
Fix the hardcoded cache file suffix
Diffstat (limited to 'fc-cat')
-rw-r--r--fc-cat/fc-cat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c
index c3d68296..b273f25d 100644
--- a/fc-cat/fc-cat.c
+++ b/fc-cat/fc-cat.c
@@ -150,11 +150,11 @@ usage (char *program, int error)
{
FILE *file = error ? stderr : stdout;
#if HAVE_GETOPT_LONG
- fprintf (file, "usage: %s [-rv] [--recurse] [--verbose] [*-%s.cache-2|directory]...\n",
+ fprintf (file, "usage: %s [-rv] [--recurse] [--verbose] [*-%s" FC_CACHE_SUFFIX "|directory]...\n",
program, FC_ARCHITECTURE);
fprintf (file, " %s [-Vh] [--version] [--help]\n", program);
#else
- fprintf (file, "usage: %s [-rvVh] [*-%s.cache-2|directory]...\n",
+ fprintf (file, "usage: %s [-rvVh] [*-%s" FC_CACHE_SUFFIX "|directory]...\n",
program, FC_ARCHITECTURE);
#endif
fprintf (file, "Reads font information cache from:\n");