summaryrefslogtreecommitdiffstats
path: root/common/cmd_fdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_fdc.c')
-rw-r--r--common/cmd_fdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fdc.c b/common/cmd_fdc.c
index c97abfb58e..9ddc59b7a0 100644
--- a/common/cmd_fdc.c
+++ b/common/cmd_fdc.c
@@ -836,7 +836,7 @@ int do_fdcboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 1;
}
hdr = (image_header_t *)addr;
- if (!image_get_magic (hdr)) {
+ if (!image_check_magic (hdr)) {
printf ("Bad Magic Number\n");
return 1;
}
OpenPOWER on IntegriCloud