diff options
author | 1998-09-10 06:44:53 +0000 | |
---|---|---|
committer | 1998-09-10 06:44:53 +0000 | |
commit | 22fde89e497e4548c632252158be28806acdce13 (patch) | |
tree | af0bafdadde8ba187e3026b46cd04ce76222c1d9 /lib/libc/stdio/perror.c | |
parent | proper strncpy (diff) | |
download | wireguard-openbsd-22fde89e497e4548c632252158be28806acdce13.tar.xz wireguard-openbsd-22fde89e497e4548c632252158be28806acdce13.zip |
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) { |