diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-21 05:47:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-21 05:47:09 +0000 |
commit | d7c2bd8ee7177832448f5ad07b953cbb07e3942f (patch) | |
tree | 2ffa2d22d4a6f072898e69b63378a7d9ff3843b4 | |
parent | d70b993fe2e0b75724ed108cc44615362f8de019 (diff) | |
download | newlib-d7c2bd8ee7177832448f5ad07b953cbb07e3942f.zip newlib-d7c2bd8ee7177832448f5ad07b953cbb07e3942f.tar.gz newlib-d7c2bd8ee7177832448f5ad07b953cbb07e3942f.tar.bz2 |
* errno.cc: Change text description for EBADF throughout.
-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 dc38755..4419ac6 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 3ad7b3d..17ac6a6 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"; |