]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_elf.c
* Patch by Andreas Oberritter, 09 Nov 2002:
[karo-tx-uboot.git] / common / cmd_elf.c
index 88744b473a349ad6d4c0c5115bf7b1dbc84eb2e6..149ffa3daaeecd296a047d2ebb539b582a3a4349 100644 (file)
@@ -111,7 +111,7 @@ int do_bootvx ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        /* Check to see if we need to tftp the image ourselves before starting */
 
        if ((argc == 2) && (strcmp (argv[1], "tftp") == 0)) {
-               if (NetLoop (TFTP) == 0)
+               if (NetLoop (TFTP) <= 0)
                        return 1;
                printf ("Automatic boot of VxWorks image at address 0x%08lx ... \n", addr);
        }