]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_license.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / common / cmd_license.c
index 85a4871de0f57a2a7b858379946980ab3408e27c..90fd57e25dd2253a0b6344831579a9194c45d51d 100644 (file)
@@ -30,7 +30,7 @@
 #include <malloc.h>
 #include <license.h>
 
-int do_license(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_license(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        char *tok, *dst = malloc(LICENSE_MAX);
        unsigned long len = LICENSE_MAX;