Minor fix to warning messages

master
Drew DeVault 9 years ago
parent cdb6a9e948
commit 71f710cf0f

@ -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);
} }
} }

Loading…
Cancel
Save