summaryrefslogtreecommitdiffstats
path: root/clang-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'clang-plugin')
-rw-r--r--clang-plugin/printf_check.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-plugin/printf_check.cc b/clang-plugin/printf_check.cc
index 6fd49c439..f27881e9f 100644
--- a/clang-plugin/printf_check.cc
+++ b/clang-plugin/printf_check.cc
@@ -190,7 +190,7 @@ namespace rspamd {
case 'D':
return llvm::make_unique<PrintfArgChecker> (int32_arg_handler,
this->pcontext, this->ci);
- case 'b':
+ case 'B':
return llvm::make_unique<PrintfArgChecker> (gboolean_arg_handler,
this->pcontext, this->ci);
case 'T':
@@ -372,7 +372,7 @@ namespace rspamd {
format_specs = {
's', 'd', 'l', 'L', 'v', 'V', 'f', 'F', 'g', 'G',
- 'T', 'z', 'D', 'c', 'p', 'P', 'e', 'b'
+ 'T', 'z', 'D', 'c', 'p', 'P', 'e', 'B'
};
};