diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-21 09:47:09 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-21 09:47:09 +0400 |
commit | d7c2bd8ee7177832448f5ad07b953cbb07e3942f (patch) | |
tree | 2ffa2d22d4a6f072898e69b63378a7d9ff3843b4 /winsup | |
parent | d70b993fe2e0b75724ed108cc44615362f8de019 (diff) |
* errno.cc: Change text description for EBADF throughout.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/errno.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index dc3875582..4419ac654 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-06-21 Christopher Faylor <cgf@redhat.com> + + * errno.cc: Change text description for EBADF throughout. + 2002-06-20 Pierre Humblet <pierre.humblet@ieee.org> * uinfo.cc (cygheap_user::ontherange): Use env_name for NetUserGetInfo. diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index 3ad7b3d4a..17ac6a61b 100644 --- a/winsup/cygwin/errno.cc +++ b/winsup/cygwin/errno.cc @@ -161,7 +161,7 @@ const NO_COPY char __declspec(dllexport) * const _sys_errlist[]= /* ENXIO 6 */ "No such device or address", /* E2BIG 7 */ "Arg list too long", /* ENOEXEC 8 */ "Exec format error", -/* EBADF 9 */ "Bad file number", +/* EBADF 9 */ "Bad file descriptor", /* ECHILD 10 */ "No children", /* EAGAIN 11 */ "Resource temporarily unavailable", /* ENOMEM 12 */ "Not enough core", @@ -338,7 +338,7 @@ strerror (int errnum) error = "Exec format error"; break; case EBADF: - error = "Bad file number"; + error = "Bad file descriptor"; break; case ECHILD: error = "No children"; |