MU: Display error message for errors with wrong selectors.
If a wrong selector was used for a TPMU objects to be marshalled
only the error bad value was returned.
Now an error log message is displayed.
Signed-off-by: Juergen Repp <juergen_repp@web.de>
diff --git a/src/tss2-mu/tpmu-types.c b/src/tss2-mu/tpmu-types.c
index 2c17209..428349b 100644
--- a/src/tss2-mu/tpmu-types.c
+++ b/src/tss2-mu/tpmu-types.c
@@ -328,7 +328,7 @@
ret = TSS2_RC_SUCCESS; \
break; \
default: \
- LOG_DEBUG("wrong selector 0x%"PRIx32" return error", selector); \
+ LOG_ERROR("wrong selector 0x%"PRIx32" return error", selector); \
break; \
} \
return ret; \
@@ -425,7 +425,7 @@
ret = TSS2_RC_SUCCESS; \
break; \
default: \
- LOG_DEBUG("wrong selector 0x%"PRIx32" return error", selector); \
+ LOG_ERROR("wrong selector 0x%"PRIx32" return error", selector); \
break; \
} \
return ret; \