]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/freescale/common/sys_eeprom.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / freescale / common / sys_eeprom.c
index 661015e0006f2afd7247f3397ac8cc3e8351b631..5a8f4f5810a000bc37aa3ee7852b59e630a94c3f 100644 (file)
@@ -314,7 +314,7 @@ static void set_mac_address(unsigned int index, const char *string)
        update_crc();
 }
 
-int do_mac(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        char cmd;