summaryrefslogtreecommitdiff
path: root/monitor_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r--monitor_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 7536bf305..e5a65491d 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -636,7 +636,7 @@ mm_send_keystate(struct monitor *monitor)
636} 636}
637 637
638int 638int
639mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen) 639mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen)
640{ 640{
641 Buffer m; 641 Buffer m;
642 char *p, *msg; 642 char *p, *msg;