cmd: efidebug: fix a failure of "boot rm" sub-command
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 28 Feb 2020 00:05:04 +0000 (09:05 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 11 Mar 2020 07:23:05 +0000 (08:23 +0100)
commite8bced62b6be344dbc922d88b1b278e316e1585f
tree8e7d746fd7b2ca998191f470f815d252751a7b13
parentb484296f6fda23ab2c996892826ebcc12cbd2303
cmd: efidebug: fix a failure of "boot rm" sub-command

There is a wrong usage of utf8_utf16_strncpy() in "boot rm" command, and
then it will end up with a failure of this command due to a wrong
value of an interim variable ("var_name16").

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