aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-16 22:01:14 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-16 22:01:14 +0100
commit1a6e696b08113ca17ee8e881844167cf94276846 (patch)
tree60ecdd8c9e51bff46624e48d9373686b858d2fb1 /key-bindings.c
parentd401340c516131ae8e07bfb978b670347486d077 (diff)
parentd15d54c2c8e6b95695169442eb2a27d814efc078 (diff)
downloadrtmux-1a6e696b08113ca17ee8e881844167cf94276846.tar.gz
rtmux-1a6e696b08113ca17ee8e881844167cf94276846.tar.bz2
rtmux-1a6e696b08113ca17ee8e881844167cf94276846.zip
Merge branch 'obsd-master'
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c
index af53720c..968337a3 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -389,9 +389,9 @@ key_bindings_init(void)
}
static enum cmd_retval
-key_bindings_read_only(struct cmd_q *cmdq, __unused void *data)
+key_bindings_read_only(struct cmdq_item *item, __unused void *data)
{
- cmdq_error(cmdq, "client is read-only");
+ cmdq_error(item, "client is read-only");
return (CMD_RETURN_ERROR);
}