diff options
Diffstat (limited to 'cmd/optee.c')
-rw-r--r-- | cmd/optee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/optee.c b/cmd/optee.c index d0d37293986..e3aae5e9f9b 100644 --- a/cmd/optee.c +++ b/cmd/optee.c @@ -53,7 +53,7 @@ static int do_optee_hello_world_ta(struct cmd_tbl *cmdtp, int flag, int argc, { int ret, value = 0; - if (strcmp(argv[1], NULL)) + if (argc > 1) value = hextoul(argv[1], NULL); ret = hello_world_ta(value); |