aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/errno.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-03-15 20:40:07 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-03-15 20:40:07 +0000
commit427cf50a1ad9e4f51902794fe66fa68b6edc6a24 (patch)
treeb30b32a1a72ad5f0114c0a56bd0d74a6c2ffc5e5 /winsup/cygwin/errno.cc
parent181438ea702c4b8488365a5fdf3fea52bca7b4a6 (diff)
downloadnewlib-427cf50a1ad9e4f51902794fe66fa68b6edc6a24.zip
newlib-427cf50a1ad9e4f51902794fe66fa68b6edc6a24.tar.gz
newlib-427cf50a1ad9e4f51902794fe66fa68b6edc6a24.tar.bz2
* errno.cc: Map ERROR_NOACCESS to EFAULT.
Diffstat (limited to 'winsup/cygwin/errno.cc')
-rw-r--r--winsup/cygwin/errno.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index c54bdba..5921f44 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -103,6 +103,7 @@ errmap[] =
X (NEGATIVE_SEEK, EINVAL),
X (NOT_READY, ENOMEDIUM),
X (DISK_FULL, ENOSPC),
+ X (NOACCESS, EFAULT),
{ 0, NULL, 0}
};