Commit a4499998 authored by Harald Freudenberger's avatar Harald Freudenberger Committed by Alexander Gordeev

s390/zcrypt: Fix wrong format string in debug feature printout

Fix wrong format string debug feature: %04x was used
to print out a 32 bit value. - changed to %08x.
Signed-off-by: default avatarHarald Freudenberger <freude@linux.ibm.com>
Reviewed-by: default avatarIngo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: default avatarHolger Dengler <dengler@linux.ibm.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent da7c622c
...@@ -556,7 +556,7 @@ static int check_reply_pl(const u8 *pl, const char *func) ...@@ -556,7 +556,7 @@ static int check_reply_pl(const u8 *pl, const char *func)
pl += 2; pl += 2;
ret = *((u32 *)pl); ret = *((u32 *)pl);
if (ret != 0) { if (ret != 0) {
ZCRYPT_DBF_ERR("%s return value 0x%04x != 0\n", func, ret); ZCRYPT_DBF_ERR("%s return value 0x%08x != 0\n", func, ret);
return -EIO; return -EIO;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment