Hi, I was toying with pxe and noticed some errors in the code small errors in the code. In the file read method it is possible to return error codes instead of amount read. This patch fix that by setting the error and returning -1 instead. It also fix some coding style by removing tabs and use UNUSED macro. Michel