mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 09:32:33 +03:00
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.
This commit is contained in:
@@ -202,7 +202,7 @@
|
|||||||
#define EALREADY ( PXENV_STATUS_UDP_OPEN | 0x0700 )
|
#define EALREADY ( PXENV_STATUS_UDP_OPEN | 0x0700 )
|
||||||
|
|
||||||
/** Bad file descriptor */
|
/** Bad file descriptor */
|
||||||
#define EBADF ( PXENV_STATUS_UDP_CLOSED | 0x0800 )
|
#define EBADF ( PXENV_STATUS_TFTP_CLOSED | 0x0800 )
|
||||||
|
|
||||||
/** Bad message */
|
/** Bad message */
|
||||||
#define EBADMSG ( PXENV_STATUS_FAILURE | 0x0900 )
|
#define EBADMSG ( PXENV_STATUS_FAILURE | 0x0900 )
|
||||||
|
|||||||
Reference in New Issue
Block a user