Browse Source

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.
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
b3ca73c303
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/errno.h

+ 1
- 1
src/include/errno.h View File

202
 #define EALREADY			     ( PXENV_STATUS_UDP_OPEN | 0x0700 )
202
 #define EALREADY			     ( PXENV_STATUS_UDP_OPEN | 0x0700 )
203
 
203
 
204
 /** Bad file descriptor */
204
 /** Bad file descriptor */
205
-#define EBADF				   ( PXENV_STATUS_UDP_CLOSED | 0x0800 )
205
+#define EBADF				  ( PXENV_STATUS_TFTP_CLOSED | 0x0800 )
206
 
206
 
207
 /** Bad message */
207
 /** Bad message */
208
 #define EBADMSG				      ( PXENV_STATUS_FAILURE | 0x0900 )
208
 #define EBADMSG				      ( PXENV_STATUS_FAILURE | 0x0900 )

Loading…
Cancel
Save