[PXEXT] Change the PXE return code for EWOULDBLOCK
authorH. Peter Anvin <hpa@zytor.com>
Wed, 26 Mar 2008 22:12:19 +0000 (15:12 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 26 Mar 2008 22:12:19 +0000 (15:12 -0700)
commit61ee294875fabf3bcab5fff7e4f6f2c0e0dfa96f
tree16df6bfed222a06801d921ea74ace46a5be3beaa
parentd62e89d776095767d075a75ceffc884ed267f685
[PXEXT] Change the PXE return code for EWOULDBLOCK

Change the PXE return code for EWOULDBLOCK from PXENV_STATUS_FAILURE
to PXENV_STATUS_TFTP_OPEN.  This code is only used by the FILE_READ
PXEXT call, and is necessary to distinguish "error" from "no data" in
that call.

(The only other nonblocking call is UDP_READ, where the caller doesn't
care about the distinction, however, gPXE doesn't use EWOULDBLOCK
internally to represent this condition in that code.)
src/include/errno.h