diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-04-23 09:20:57 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-04-23 09:20:57 +0000 |
commit | f7cc2002babdfa9634d49c262981eb544e996c52 (patch) | |
tree | 0c102bb8aecb7859541f54d746dea3bc48428185 /sys/compat | |
parent | bab8e641c447b3d9ca471c5fe1244b190c479b79 (diff) |
Corrected typo in TIOCGWINSZ
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: |