]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_log.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / common / cmd_log.c
index 3653fe1a1ef914cb6a52b50960fe9bd22e554d47..49deddd7f99cebe07ca21d7da5ae8b50e7494df3 100644 (file)
@@ -193,7 +193,7 @@ void logbuff_log(char *msg)
  * Return:      None
  *
  */
-int do_log (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_log (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        char *s;
        unsigned long i, start, size;