diff options
author | jwijenbergh <[email protected]> | 2022-05-01 14:59:15 +0200 |
---|---|---|
committer | jwijenbergh <[email protected]> | 2022-05-01 14:59:15 +0200 |
commit | 58f13efa30983e6934128de215293c8f91efe3ae (patch) | |
tree | a2e1db1559689a97d16d05cf5680a01cfef2ae5c /hyprctl | |
parent | 0132e52b1351a93fd7017e9653caa4aab419ca87 (diff) | |
download | Hyprland-58f13efa30983e6934128de215293c8f91efe3ae.tar.gz Hyprland-58f13efa30983e6934128de215293c8f91efe3ae.zip |
Hyprctrl: Use printf format specifiers for the usage string
Diffstat (limited to 'hyprctl')
-rw-r--r-- | hyprctl/main.cpp | 4 |
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; } |