summaryrefslogtreecommitdiff
path: root/libutil/forkpty.c
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/forkpty.c')
-rw-r--r--libutil/forkpty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libutil/forkpty.c b/libutil/forkpty.c
index 24643330c..7e42d1a33 100644
--- a/libutil/forkpty.c
+++ b/libutil/forkpty.c
@@ -23,7 +23,8 @@
#include <pty.h>
int
-forkpty (int *amaster, char *name, struct termios *termp, struct winsize *winp)
+forkpty (int *amaster, char *name, const struct termios *termp,
+ const struct winsize *winp)
{
int master, slave, pid;