From: Joel Rosdahl Date: Thu, 9 Feb 2017 21:21:18 +0000 (+0100) Subject: Use correct statistics counter for -optf/--options-file failure X-Git-Tag: v3.3.4~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6aff3c35ba624747bbbb997d07edcc2544673c;p=thirdparty%2Fccache.git Use correct statistics counter for -optf/--options-file failure --- diff --git a/ccache.c b/ccache.c index 62f24ace7..c6b7b5d14 100644 --- a/ccache.c +++ b/ccache.c @@ -2158,7 +2158,7 @@ cc_process_args(struct args *args, struct args **preprocessor_args, if (str_eq(argv[i], "-optf") || str_eq(argv[i], "--options-file")) { if (i > argc) { cc_log("Expected argument after -optf/--options-file"); - stats_update(STATS_UNSUPPORTED_OPTION); + stats_update(STATS_ARGS); result = false; goto out; }