Sfoglia il codice sorgente

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 anni fa
parent
commit
b3ca73c303
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/include/errno.h

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

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

Loading…
Annulla
Salva