aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-24 22:08:19 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-24 22:08:20 +0000
commit6e15edcca5f5b35221b33e9994c236f148cb3c38 (patch)
tree81e1c889588ffb9361c0ad6356a7b75ad028d9f2
parent59936a3b51474fc3216659f089ff6543ac31ab4e (diff)
parentd309877eeeb4b3d5daa089ea99fa4635852b0333 (diff)
downloadandroid_bionic-6e15edcca5f5b35221b33e9994c236f148cb3c38.tar.gz
android_bionic-6e15edcca5f5b35221b33e9994c236f148cb3c38.tar.bz2
android_bionic-6e15edcca5f5b35221b33e9994c236f148cb3c38.zip
Merge "Say "Bad file descriptor" rather than "Bad file number"."
-rw-r--r--libc/include/sys/_errdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/_errdefs.h b/libc/include/sys/_errdefs.h
index 3eeadf488..3c3c9d7f2 100644
--- a/libc/include/sys/_errdefs.h
+++ b/libc/include/sys/_errdefs.h
@@ -45,7 +45,7 @@ __BIONIC_ERRDEF( EIO , 5, "I/O error" )
__BIONIC_ERRDEF( ENXIO , 6, "No such device or address" )
__BIONIC_ERRDEF( E2BIG , 7, "Argument list too long" )
__BIONIC_ERRDEF( ENOEXEC , 8, "Exec format error" )
-__BIONIC_ERRDEF( EBADF , 9, "Bad file number" )
+__BIONIC_ERRDEF( EBADF , 9, "Bad file descriptor" )
__BIONIC_ERRDEF( ECHILD , 10, "No child processes" )
__BIONIC_ERRDEF( EAGAIN , 11, "Try again" )
__BIONIC_ERRDEF( ENOMEM , 12, "Out of memory" )