cmd: efidebug: fix a wrong handling of arguments
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 8 May 2020 05:50:47 +0000 (14:50 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 9 May 2020 07:30:27 +0000 (09:30 +0200)
commitd67591dc22f9a6d41163fb6ba0efce5fa0598830
treeac8e83658e22f430d4149c943282194b4b34c50d
parentb433acbb819e1546ef9493dc3ba97a44b398a9db
cmd: efidebug: fix a wrong handling of arguments

Coverity detected a dead code, but actually there is a bug in a check
against a number of arguments. So simply fix it.

Reported-by: Coverity (CID 300330)
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/efidebug.c