diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-01-24 22:01:13 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-01-24 22:01:13 +0000 |
commit | 418ab1a553f46996d3524bab5c81b2c66fa7efc6 (patch) | |
tree | b29b61f95da6d7732628cdfb6dcf5e23c2fede5e /pty.c | |
parent | f38a6bbd816533d01d14c8bbafbb51621e5e1326 (diff) | |
parent | ffc28a7765f4b560427404c9679966232655e67e (diff) | |
download | rtmux-418ab1a553f46996d3524bab5c81b2c66fa7efc6.tar.gz rtmux-418ab1a553f46996d3524bab5c81b2c66fa7efc6.tar.bz2 rtmux-418ab1a553f46996d3524bab5c81b2c66fa7efc6.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'pty.c')
-rw-r--r-- | pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ pty_fork(int ptmfd, int *fd, char *name, size_t namelen, struct winsize *ws) struct ptmget ptm; pid_t pid; - if ((ioctl(ptmfd, PTMGET, &ptm) == -1)) + if (ioctl(ptmfd, PTMGET, &ptm) == -1) return (-1); strlcpy(name, ptm.sn, namelen); |