* errno.cc (errmap): Map ERROR_INVALID_ADDRESS to EINVAL instead of

EOVERFLOW.
This commit is contained in:
Corinna Vinschen 2004-12-10 17:43:00 +00:00
parent 804cd111b4
commit aee05403d1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-12-10 Corinna Vinschen <corinna@vinschen.de>
* errno.cc (errmap): Map ERROR_INVALID_ADDRESS to EINVAL instead of
EOVERFLOW.
2004-12-10 Christopher Faylor <cgf@timesys.com> 2004-12-10 Christopher Faylor <cgf@timesys.com>
* include/sys/strace.h: Don't output paranoid_printf by default. * include/sys/strace.h: Don't output paranoid_printf by default.

View File

@ -112,7 +112,7 @@ static NO_COPY struct
X (DISK_FULL, ENOSPC), X (DISK_FULL, ENOSPC),
X (NOACCESS, EFAULT), X (NOACCESS, EFAULT),
X (FILE_INVALID, ENXIO), X (FILE_INVALID, ENXIO),
X (INVALID_ADDRESS, EOVERFLOW), X (INVALID_ADDRESS, EINVAL),
X (INVALID_BLOCK_LENGTH, EIO), X (INVALID_BLOCK_LENGTH, EIO),
X (BUS_RESET, EIO), X (BUS_RESET, EIO),
X (FILEMARK_DETECTED, EIO), X (FILEMARK_DETECTED, EIO),