From 5e0c42a9f99949e167ebf181ebd4e7ce02b0a088 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Mon, 18 Sep 2023 01:34:47 +0200 Subject: [PATCH] Use hexa representation for error displaying Signed-off-by: Pol Henarejos --- src/fido/ctap2_cbor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fido/ctap2_cbor.h b/src/fido/ctap2_cbor.h index f7ee2d2..9a8c8d1 100644 --- a/src/fido/ctap2_cbor.h +++ b/src/fido/ctap2_cbor.h @@ -57,7 +57,7 @@ extern const bool _btrue, _bfalse; do \ { \ error = e; \ - printf("Cbor ERROR [%s:%d]: %d\n", __FILE__, __LINE__, e); \ + printf("Cbor ERROR [%s:%d]: %x\n", __FILE__, __LINE__, e); \ goto err; \ } while (0)