diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-24 21:24:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-24 21:24:16 +0000 |
commit | 0fa503dfa1d5a670e0eaa182afd000a479359f3a (patch) | |
tree | 31b09516b2daff92ef05cdaef8f1040328f8d0b9 /lib/libutil | |
parent | 614d3b268363cdee32aba3cafe8e123fe69ac75d (diff) |
KNF
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/pty.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index c3d71d768ae..6d4fd8b8d20 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pty.c,v 1.6 1999/05/24 21:24:29 deraadt Exp $ */ +/* $OpenBSD: pty.c,v 1.7 2002/05/24 21:24:15 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -34,7 +34,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /* from: static char sccsid[] = "@(#)pty.c 8.1 (Berkeley) 6/4/93"; */ -static char *rcsid = "$Id: pty.c,v 1.6 1999/05/24 21:24:29 deraadt Exp $"; +static char *rcsid = "$Id: pty.c,v 1.7 2002/05/24 21:24:15 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/cdefs.h> @@ -90,10 +90,10 @@ openpty(amaster, aslave, name, termp, winp) strcpy(name, line); if (termp) (void) tcsetattr(slave, - TCSAFLUSH, termp); + TCSAFLUSH, termp); if (winp) (void) ioctl(slave, TIOCSWINSZ, - (char *)winp); + (char *)winp); return (0); } (void) close(master); |