summary refs log tree commit diff
path: root/quantum/command.c
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-07-07 14:14:09 +0200
committerGitHub <noreply@github.com>2022-07-07 14:14:09 +0200
commit643f6367a19649a0f5af6d43f2ed7f0e93b21f70 (patch)
treeb51ba73169e3558dc724a25d995ecbd912c336bf /quantum/command.c
parent8224f62806b66f0825b68fd8c00436ee57a28e9a (diff)
[Fix] Patches after printf library update (#17584)
* Add missing '(' to print_bin_reverse32 declaration
* Fix insufficient character buffers on satisfaction75
* Remove \0 character in format string and use corrected offset math
  instead on rocketboard 16
* Replace snprintf_ with snprintf for djinn
* Explicitly ignore format checks for tracktyl manuform that uses %b
  specifier
* Print properly escaped version string in command.c, as PRODUCT or
  other defines can contain constructs like 'Vendor keyboard 66%' which
  will be interpreted as a format specifier
Diffstat (limited to 'quantum/command.c')
-rw-r--r--quantum/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/command.c b/quantum/command.c
index 2e94cb44b8..84757b9b01 100644
--- a/quantum/command.c
+++ b/quantum/command.c
@@ -161,7 +161,7 @@ static void command_common_help(void) {
 }
 
 static void print_version(void) {
-    print(/* clang-format off */
+    xprintf("%s", /* clang-format off */
         "\n\t- Version -\n"
         "VID: " STR(VENDOR_ID) "(" STR(MANUFACTURER) ") "
         "PID: " STR(PRODUCT_ID) "(" STR(PRODUCT) ") "