From f7cc2002babdfa9634d49c262981eb544e996c52 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Tue, 23 Apr 1996 09:20:57 +0000 Subject: Corrected typo in TIOCGWINSZ --- sys/compat/svr4/svr4_termios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/compat/svr4/svr4_termios.c') 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: -- cgit v1.2.3