]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_echo.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / common / cmd_echo.c
index 3ec4d4856321b7c0d992759c4c21433c8520654d..43a6da57226f5696a5de0824807793521763226c 100644 (file)
@@ -24,7 +24,7 @@
 #include <common.h>
 #include <command.h>
 
-int do_echo(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_echo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        int i;
        int putnl = 1;