aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index c536767f1a6bd..e72fac99ee614 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -161,7 +161,7 @@ warnc(int code, const char *fmt, ...)
void
vwarnc(int code, const char *fmt, va_list ap)
{
- static int saved_errno;
+ int saved_errno;
saved_errno = errno;
if (err_file == NULL)
@@ -187,7 +187,7 @@ warnx(const char *fmt, ...)
void
vwarnx(const char *fmt, va_list ap)
{
- static int saved_errno;
+ int saved_errno;
saved_errno = errno;
if (err_file == NULL)