]> git.ipfire.org Git - thirdparty/grub.git/commit
commands/efi/tpm: Use grub_strcpy() instead of grub_memcpy()
authorLu Ken <ken.lu@intel.com>
Wed, 13 Jul 2022 02:06:11 +0000 (10:06 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 27 Jul 2022 17:12:26 +0000 (19:12 +0200)
commitef8679b645a63eb9eb191bb9539d7d25a9d6ff3b
tree296a09232136aee5f09231c1917dd65cb5fdb943
parent922898573e37135f5dedc16f3e15a1d1d4c53f8a
commands/efi/tpm: Use grub_strcpy() instead of grub_memcpy()

The event description is a string, so using grub_strcpy() is cleaner than
using grub_memcpy().

Signed-off-by: Lu Ken <ken.lu@intel.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/efi/tpm.c