diff options
Diffstat (limited to 'login/openpty.c')
-rw-r--r-- | login/openpty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/login/openpty.c b/login/openpty.c index fe11d49feb..0ff901c3f5 100644 --- a/login/openpty.c +++ b/login/openpty.c @@ -84,8 +84,8 @@ pts_name (int fd, char **pts, size_t buf_len) according to TERMP and WINP. Return handles for both ends in AMASTER and ASLAVE, and return the name of the slave end in NAME. */ int -openpty (int *amaster, int *aslave, char *name, struct termios *termp, - struct winsize *winp) +openpty (int *amaster, int *aslave, char *name, + const struct termios *termp, const struct winsize *winp) { #ifdef PATH_MAX char _buf[PATH_MAX]; |