Minor fix to warning messages

This commit is contained in:
Drew DeVault 2016-06-19 10:01:15 -04:00
parent cdb6a9e948
commit 71f710cf0f

View file

@ -251,7 +251,7 @@ static struct cmd_results *cmd_bindsym(int argc, char **argv) {
} else { } else {
free_sway_binding(binding); free_sway_binding(binding);
return cmd_results_new(CMD_FAILURE, "bindsym", return cmd_results_new(CMD_FAILURE, "bindsym",
"Invalid bindsym command" "Invalid bindsym command "
"(expected more than 2 arguments, got %d)", argc); "(expected more than 2 arguments, got %d)", argc);
} }
} }
@ -317,7 +317,7 @@ static struct cmd_results *cmd_bindcode(int argc, char **argv) {
} else { } else {
free_sway_binding(binding); free_sway_binding(binding);
return cmd_results_new(CMD_FAILURE, "bindcode", return cmd_results_new(CMD_FAILURE, "bindcode",
"Invalid bindcode command" "Invalid bindcode command "
"(expected more than 2 arguments, got %d)", argc); "(expected more than 2 arguments, got %d)", argc);
} }
} }