diff options
author | 2014-07-20 01:38:40 +0000 | |
---|---|---|
committer | 2014-07-20 01:38:40 +0000 | |
commit | ffb4dd050d1e35f39b1d6c1c600db7c6443475c2 (patch) | |
tree | 0e41db8f3c733eb324a6a362a29149f077ad4c74 /regress/lib/libc/stdio_threading/include | |
parent | Delete unused variables found by -Wall (diff) | |
download | wireguard-openbsd-ffb4dd050d1e35f39b1d6c1c600db7c6443475c2.tar.xz wireguard-openbsd-ffb4dd050d1e35f39b1d6c1c600db7c6443475c2.zip |
Make sure the correct errno is reported by warn* or err* and not
the errno of an intervening cleanup operation like close/unlink/etc.
Diff from Doug Hogan (doug (at) acyclic.org)
Diffstat (limited to 'regress/lib/libc/stdio_threading/include')
-rw-r--r-- | regress/lib/libc/stdio_threading/include/local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/lib/libc/stdio_threading/include/local.h b/regress/lib/libc/stdio_threading/include/local.h index 8d0e628cf6c..7a7822a452e 100644 --- a/regress/lib/libc/stdio_threading/include/local.h +++ b/regress/lib/libc/stdio_threading/include/local.h @@ -15,6 +15,7 @@ */ #include <err.h> +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |