]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_mem.c
Add cli_ prefix to readline functions
[u-boot] / common / cmd_mem.c
index 4b8738b4f036a9e12cea34962085b156f3e42380..15a4b84efdc95f1f8374673fadac592e4fa64124 100644 (file)
@@ -1150,7 +1150,7 @@ mod_mem(cmd_tbl_t *cmdtp, int incrflag, int flag, int argc, char * const argv[])
                else
                        printf(" %02x", *((u8 *)ptr));
 
-               nbytes = readline (" ? ");
+               nbytes = cli_readline(" ? ");
                if (nbytes == 0 || (nbytes == 1 && console_buffer[0] == '-')) {
                        /* <CR> pressed as only input, don't modify current
                         * location and move to next. "-" pressed will go back.