diff options
| author | Warner Losh <imp@FreeBSD.org> | 2020-10-24 00:03:11 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2020-10-24 00:03:11 +0000 |
| commit | b38d86a585cd16e84b1d8fe4cca88ed873051fd7 (patch) | |
| tree | 61e4ebf7498c26d169121515feede4d18a84d423 /lib/libc | |
| parent | 4e0771b2da184592e35952c8d4fdf8a9a8858ced (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/err.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c index c536767f1a6b..e72fac99ee61 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) |
