From 514f30773a3ef4f32fc615b7a88d9c0f3faea2e8 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Wed, 10 Apr 2024 13:28:06 -0700 Subject: [PATCH] Fix one more issue with -Werror --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index bb54272..a76d8ba 100644 --- a/main.cpp +++ b/main.cpp @@ -156,7 +156,7 @@ int main(int argc, char **argv) { helpstr = helpstr.substr(helpstr.find("\n") + 1); helpstr = helpstr.substr(helpstr.find("\n") + 1); helpstr = helpstr.substr(helpstr.find("\n") + 1); - printf(helpstr.c_str()); + printf("%s", helpstr.c_str()); } output = return_code; } @@ -169,4 +169,4 @@ int main(int argc, char **argv) { free(new_argv); save_options(); return output; -} \ No newline at end of file +}