summaryrefslogtreecommitdiffstats
path: root/src/include/errno.h
diff options
context:
space:
mode:
authorMichael Brown2007-07-05 19:47:46 +0200
committerMichael Brown2007-07-05 19:47:46 +0200
commitb3ca73c303d5e0135082990395d08c790ad55943 (patch)
tree9e520e245038374bb2528d88bb329efb9713e71e /src/include/errno.h
parentAdd concept of DHCP option applicators. (diff)
downloadipxe-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/include/errno.h')
-rw-r--r--src/include/errno.h2
1 files changed, 1 insertions, 1 deletions
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 )