From b3ca73c303d5e0135082990395d08c790ad55943 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 5 Jul 2007 18:47:46 +0100 Subject: [PATCH] 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. --- src/include/errno.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/errno.h b/src/include/errno.h index ec8b7555..1eb28fbe 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 )