projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that argv[] argument pointers are not modified.
[oweals/u-boot.git]
/
common
/
cmd_diag.c
diff --git
a/common/cmd_diag.c
b/common/cmd_diag.c
index 0436c492f48b793a5cb84b6bf9e0b61db5bc9179..317ea6605fd9a18cbe5972e011a4181ec1990298 100644
(file)
--- a/
common/cmd_diag.c
+++ b/
common/cmd_diag.c
@@
-28,7
+28,7
@@
#include <command.h>
#include <post.h>
-int do_diag (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_diag (cmd_tbl_t * cmdtp, int flag, int argc, char *
const
argv[])
{
unsigned int i;