aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r--sway/commands/bind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c
index 4c67b3ce..25be415e 100644
--- a/sway/commands/bind.c
+++ b/sway/commands/bind.c
@@ -560,8 +560,8 @@ struct cmd_results *cmd_bind_or_unbind_switch(int argc, char **argv,
560 free_switch_binding(binding); 560 free_switch_binding(binding);
561 return cmd_results_new(CMD_FAILURE, 561 return cmd_results_new(CMD_FAILURE,
562 "Invalid %s command " 562 "Invalid %s command "
563 "(expected switch state: unknown state %d)", 563 "(expected switch state: unknown state %s)",
564 bindtype, split->items[0]); 564 bindtype, split->items[1]);
565 } 565 }
566 list_free_items_and_destroy(split); 566 list_free_items_and_destroy(split);
567 567