diff options
Diffstat (limited to 'common/cmd_net.c')
-rw-r--r-- | common/cmd_net.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/cmd_net.c b/common/cmd_net.c index 3dd6810..c9f2a08 100644 --- a/common/cmd_net.c +++ b/common/cmd_net.c @@ -230,23 +230,23 @@ static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc, break; #endif default: - show_boot_progress (-80); + show_boot_error(80); return CMD_RET_USAGE; } - show_boot_progress (80); + show_boot_progress(80); if ((size = NetLoop(proto)) < 0) { - show_boot_progress (-81); + show_boot_error(81); return 1; } - show_boot_progress (81); + show_boot_progress(81); /* NetLoop ok, update environment */ netboot_update_env(); /* done if no file was loaded (no errors though) */ if (size == 0) { - show_boot_progress (-82); + show_boot_error(82); return 0; } @@ -257,9 +257,9 @@ static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc, rcode = bootm_maybe_autostart(cmdtp, argv[0]); if (rcode < 0) - show_boot_progress (-83); + show_boot_error(83); else - show_boot_progress (84); + show_boot_progress(84); return rcode; } |