X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fcmd_load.c;h=0aa7937fd4bfeed10a283bbdcd42c129350c0bf6;hb=5a54194515caa4f4183dc9086938456612749573;hp=f6e522cbb3482bf48eeae51cfe0d2e1467404de3;hpb=4eef93da262048eb1118e726b3ec5b8ebd3c6c91;p=oweals%2Fu-boot.git diff --git a/common/cmd_load.c b/common/cmd_load.c index f6e522cbb3..0aa7937fd4 100644 --- a/common/cmd_load.c +++ b/common/cmd_load.c @@ -10,6 +10,7 @@ */ #include #include +#include #include #include #include @@ -222,7 +223,7 @@ static int read_record(char *buf, ulong len) } /* Check for the console hangup (if any different from serial) */ - if (gd->jt[XF_getc] != getc) { + if (gd->jt->getc != getc) { if (ctrlc()) { return (-1); }