diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-05-24 21:24:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-05-24 21:24:30 +0000 |
commit | ad567efadd6252f109ca22f6063ba70cae98ec1c (patch) | |
tree | 881fa8ca8960af3fd66efbfff5f528ec0404a6dd /lib | |
parent | 8d1365ceab4eca3cb6d2fe7b611966984e08e17f (diff) |
permit threaded use; jb@freebsd
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutil/pty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index 751b3c604e7..c3d71d768ae 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pty.c,v 1.5 1996/08/09 00:26:15 deraadt Exp $ */ +/* $OpenBSD: pty.c,v 1.6 1999/05/24 21:24:29 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.5 1996/08/09 00:26:15 deraadt Exp $"; +static char *rcsid = "$Id: pty.c,v 1.6 1999/05/24 21:24:29 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/cdefs.h> @@ -60,7 +60,7 @@ openpty(amaster, aslave, name, termp, winp) struct termios *termp; struct winsize *winp; { - static char line[] = "/dev/ptyXX"; + char line[] = "/dev/ptyXX"; register const char *cp1, *cp2; register int master, slave, ttygid; struct group *gr; |