diff options
| author | Elliott Hughes <enh@google.com> | 2015-01-24 13:38:57 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2015-01-24 13:38:57 -0800 |
| commit | d309877eeeb4b3d5daa089ea99fa4635852b0333 (patch) | |
| tree | c596437b96e5749b19bf2f4ac506ae7b9aacb928 /libc/include/sys/_errdefs.h | |
| parent | 31005ca4c8562f3e6dfbed079eeaff8361ff8cdc (diff) | |
| download | bionic-d309877eeeb4b3d5daa089ea99fa4635852b0333.zip bionic-d309877eeeb4b3d5daa089ea99fa4635852b0333.tar.gz bionic-d309877eeeb4b3d5daa089ea99fa4635852b0333.tar.bz2 | |
Say "Bad file descriptor" rather than "Bad file number".
This text is actually in POSIX (though it's not mandatory) and it's what glibc
says. Who says "file number" anyway?
Change-Id: Icc91ac24587c2bc692e0b97c19d32ac1bdda4ea7
Diffstat (limited to 'libc/include/sys/_errdefs.h')
| -rw-r--r-- | libc/include/sys/_errdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/_errdefs.h b/libc/include/sys/_errdefs.h index 3eeadf4..3c3c9d7 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" ) |
