diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-10 06:44:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-10 06:44:54 +0000 |
commit | c4912a54eb8b9138390cf027e0fb2076f6207ed1 (patch) | |
tree | e41d6649f8d77487ba2e8945bda4bef7926b8d65 /lib/libc/stdio/perror.c | |
parent | e8ea5b0ec3d532932cbc3980f33f74d1579b60eb (diff) |
thread-safer
Diffstat (limited to 'lib/libc/stdio/perror.c')
-rw-r--r-- | lib/libc/stdio/perror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/perror.c b/lib/libc/stdio/perror.c index 217601e858c..2eceac1511b 100644 --- a/lib/libc/stdio/perror.c +++ b/lib/libc/stdio/perror.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: perror.c,v 1.2 1996/08/19 08:32:56 tholo Exp $"; +static char rcsid[] = "$OpenBSD: perror.c,v 1.3 1998/09/10 06:44:53 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -56,7 +56,7 @@ perror(s) { register struct iovec *v; struct iovec iov[4]; - static char buf[NL_TEXTMAX]; + char buf[NL_TEXTMAX]; v = iov; if (s && *s) { |