Displaying 2 results from an estimated 2 matches for "c89d3bf".
2015 Jan 15
0
PXE Error Reporting
......)
fp = &__file_info[fd];
+ errno = 0;
handle = open_file(pathname, flags, &fp->i.fd);
if (handle < 0) {
close(fd);
- errno = ENOENT;
+ if (!errno)
+ errno = ENOENT;
return -1;
}
diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c
index 446da63..c89d3bf 100644
--- a/core/fs/pxe/tftp.c
+++ b/core/fs/pxe/tftp.c
@@ -205,6 +205,7 @@ void tftp_open(struct url_info *url, int flags, struct inode *inode,
uint64_t opdata;
uint16_t src_port;
uint32_t src_ip;
+ uint16_t error_code;
(void)redir; /* TFTP does not redirect */
(voi...
2015 Jan 15
3
PXE Error Reporting
Sebastian,
On 01/15/2015 12:49 AM, Sebastian Herbszt wrote:
> which version of pxelinux were you trying? Looks like < 5.x.
the one from Fedora 20, syslinux-4.05.
It turns out that pxelinux.0 from Fedora 21, syslinux-6.03, reports
"Failed to load ldlinux.c32" when ldlinux.c32 can't be read, and
"Loading <FILE>... failed: No such file or directory" when the