verifiers: Add verify string debug message
Like grub_verifiers_open(), the grub_verify_string() should also display this debug message, which is very helpful for debugging. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
0f3600bf1b
commit
0fa9ed41ac
1 changed files with 3 additions and 0 deletions
|
@ -208,6 +208,9 @@ grub_err_t
|
||||||
grub_verify_string (char *str, enum grub_verify_string_type type)
|
grub_verify_string (char *str, enum grub_verify_string_type type)
|
||||||
{
|
{
|
||||||
struct grub_file_verifier *ver;
|
struct grub_file_verifier *ver;
|
||||||
|
|
||||||
|
grub_dprintf ("verify", "string: %s, type: %d\n", str, type);
|
||||||
|
|
||||||
FOR_LIST_ELEMENTS(ver, grub_file_verifiers)
|
FOR_LIST_ELEMENTS(ver, grub_file_verifiers)
|
||||||
{
|
{
|
||||||
grub_err_t err;
|
grub_err_t err;
|
||||||
|
|
Loading…
Reference in a new issue