diff options
author | guenther <> | 2014-07-20 01:38:40 +0000 |
---|---|---|
committer | guenther <> | 2014-07-20 01:38:40 +0000 |
commit | de21c6ec21e1a745fd5d9c4878218fb4d07f0737 (patch) | |
tree | 5e6c4eae816d1f4766599fa8e5f8fea5d7d1a35e /src/regress/lib/libc/stdio_threading/include | |
parent | 61b0982e8e00b9d378695b1873b5409afd7d7b96 (diff) | |
download | openbsd-de21c6ec21e1a745fd5d9c4878218fb4d07f0737.tar.gz openbsd-de21c6ec21e1a745fd5d9c4878218fb4d07f0737.tar.bz2 openbsd-de21c6ec21e1a745fd5d9c4878218fb4d07f0737.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 'src/regress/lib/libc/stdio_threading/include')
-rw-r--r-- | src/regress/lib/libc/stdio_threading/include/local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regress/lib/libc/stdio_threading/include/local.h b/src/regress/lib/libc/stdio_threading/include/local.h index 8d0e628cf6..7a7822a452 100644 --- a/src/regress/lib/libc/stdio_threading/include/local.h +++ b/src/regress/lib/libc/stdio_threading/include/local.h | |||
@@ -15,6 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <err.h> | 17 | #include <err.h> |
18 | #include <errno.h> | ||
18 | #include <stdio.h> | 19 | #include <stdio.h> |
19 | #include <stdlib.h> | 20 | #include <stdlib.h> |
20 | #include <string.h> | 21 | #include <string.h> |