diff options
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/svr4/svr4_termios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_termios.c b/sys/compat/svr4/svr4_termios.c index 542de71b859..08c406dfd92 100644 --- a/sys/compat/svr4/svr4_termios.c +++ b/sys/compat/svr4/svr4_termios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_termios.c,v 1.6 1996/04/21 22:18:38 deraadt Exp $ */ +/* $OpenBSD: svr4_termios.c,v 1.7 1996/04/23 09:20:56 niklas Exp $ */ /* $NetBSD: svr4_termios.c,v 1.9 1996/04/11 12:53:48 christos Exp $ */ /* @@ -584,7 +584,7 @@ svr4_term_ioctl(fp, p, retval, fd, cmd, data) error = (*ctl)(fp, TIOCGWINSZ, (caddr_t) &ws, p); if (error) return error; - return copyout(&st, data, sizeof(st)); + return copyout(&ws, data, sizeof(ws)); } case SVR4_TIOCSWINSZ: |