summaryrefslogtreecommitdiff
path: root/hyprctl/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprctl/main.cpp')
-rw-r--r--hyprctl/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index 6a9a9bda..4529fd31 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -132,7 +132,7 @@ int main(int argc, char** argv) {
int bflag = 0, sflag = 0, index, c;
if (argc < 2) {
- printf(USAGE.c_str());
+ printf("%s", USAGE.c_str());
return 1;
}
@@ -146,7 +146,7 @@ int main(int argc, char** argv) {
else if (!strcmp(argv[1], "keyword")) keywordRequest(argc, argv);
else if (!strcmp(argv[1], "--batch")) batchRequest(argc, argv);
else {
- printf(USAGE.c_str());
+ printf("%s", USAGE.c_str());
return 1;
}