diff options
Diffstat (limited to 'board/hymod/fetch.c')
-rw-r--r-- | board/hymod/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hymod/fetch.c b/board/hymod/fetch.c index 1511b08..dcbda31 100644 --- a/board/hymod/fetch.c +++ b/board/hymod/fetch.c @@ -89,7 +89,7 @@ fetch_and_parse(bd_t *bd, char *fn, ulong addr, int (*cback)(uchar *, uchar *)) copy_filename(BootFile, fn, sizeof (BootFile)); load_addr = addr; - if (NetLoop(TFTP) == 0) { + if (NetLoop(TFTP) <= 0) { printf("tftp transfer of file '%s' failed\n", fn); return (0); } |