mirror of
https://github.com/swaywm/sway.git
synced 2026-04-06 07:15:44 -04:00
commands: add printf attribute to cmd_results_new()
And fix the resulting build failures.
This commit is contained in:
parent
d6915f6428
commit
a7b50f6c9c
19 changed files with 63 additions and 58 deletions
|
|
@ -153,7 +153,7 @@ struct cmd_results *cmd_layout(int argc, char **argv) {
|
|||
workspace->output);
|
||||
}
|
||||
if (new_layout == L_NONE) {
|
||||
return cmd_results_new(CMD_INVALID, expected_syntax);
|
||||
return cmd_results_new(CMD_INVALID, "%s", expected_syntax);
|
||||
}
|
||||
if (new_layout != old_layout) {
|
||||
if (container) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue