diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-07 19:45:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-07 19:45:58 +0000 |
commit | dd849116adfbca2ff315b9d0398c252247022046 (patch) | |
tree | 09a60819f6b52c1b95ea033d4158adbd99b0b6a3 /sys/kern | |
parent | e0d7ac165d6d70002bdd0b8585e184ae4130eb5d (diff) |
clear quotes not buf; from hbriceno@lcs.mit.edu
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/tty_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_subr.c b/sys/kern/tty_subr.c index 92ad0c790f0..95b0ff77e88 100644 --- a/sys/kern/tty_subr.c +++ b/sys/kern/tty_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty_subr.c,v 1.4 1996/06/06 09:52:07 deraadt Exp $ */ +/* $OpenBSD: tty_subr.c,v 1.5 1996/10/07 19:45:57 deraadt Exp $ */ /* $NetBSD: tty_subr.c,v 1.13 1996/02/09 19:00:43 christos Exp $ */ /* @@ -98,13 +98,13 @@ clalloc(clp, size, quot) return (-1); bzero(clp->c_cs, size); - if(quot) { + if (quot) { MALLOC(clp->c_cq, u_char *, QMEM(size), M_TTYS, M_WAITOK); if (!clp->c_cq) { FREE(clp->c_cs, M_TTYS); return (-1); } - bzero(clp->c_cs, QMEM(size)); + bzero(clp->c_cq, QMEM(size)); } else clp->c_cq = (u_char *)0; |