Make sure that argv[] argument pointers are not modified.
[oweals/u-boot.git] / board / zeus / update.c
index 2f2a127f734d944a1e9fedfd7533c76f3bfe51c2..61196276d540b307ff48faf58ae8e73d3829450e 100644 (file)
@@ -91,15 +91,15 @@ static int update_boot_eeprom(void)
        return 0;
 }
 
-int do_update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char* argv[])
+int do_update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char * const argv[])
 {
        return update_boot_eeprom();
 }
 
 U_BOOT_CMD (
        update_boot_eeprom, 1, 1, do_update_boot_eeprom,
-       "update_boot_eeprom  - update boot eeprom content\n",
-       NULL
+       "update boot eeprom content",
+       ""
 );
 
 #endif