diff options
| author | Michael Brown | 2007-07-05 19:47:46 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-07-05 19:47:46 +0200 |
| commit | b3ca73c303d5e0135082990395d08c790ad55943 (patch) | |
| tree | 9e520e245038374bb2528d88bb329efb9713e71e /src | |
| parent | Add concept of DHCP option applicators. (diff) | |
| download | ipxe-b3ca73c303d5e0135082990395d08c790ad55943.tar.gz ipxe-b3ca73c303d5e0135082990395d08c790ad55943.tar.xz ipxe-b3ca73c303d5e0135082990395d08c790ad55943.zip | |
Remap EBADF to PXENV_STATUS_TFTP_FILE_NOT_FOUND; the only user is
posix_io.c and this PXE error makes more sense in this context.
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/errno.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/errno.h b/src/include/errno.h index ec8b75559..1eb28fbee 100644 --- a/src/include/errno.h +++ b/src/include/errno.h @@ -202,7 +202,7 @@ #define EALREADY ( PXENV_STATUS_UDP_OPEN | 0x0700 ) /** Bad file descriptor */ -#define EBADF ( PXENV_STATUS_UDP_CLOSED | 0x0800 ) +#define EBADF ( PXENV_STATUS_TFTP_CLOSED | 0x0800 ) /** Bad message */ #define EBADMSG ( PXENV_STATUS_FAILURE | 0x0900 ) |
