Blame SOURCES/0001-lib-files-fix-an-error-message-in-files_load_-name.patch
|
|
5b830c |
From 012249ad9d06d7534a94690a33638691f5104839 Mon Sep 17 00:00:00 2001
|
|
|
5b830c |
From: Radoslav Gerganov <rgerganov@vmware.com>
|
|
|
5b830c |
Date: Wed, 26 Feb 2020 10:40:26 +0200
|
|
|
5b830c |
Subject: [PATCH] lib/files: fix an error message in files_load_##name
|
|
|
5b830c |
|
|
|
5b830c |
Signed-off-by: Radoslav Gerganov <rgerganov@vmware.com>
|
|
|
5b830c |
---
|
|
|
5b830c |
lib/files.c | 2 +-
|
|
|
5b830c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
5b830c |
|
|
|
5b830c |
diff --git a/lib/files.c b/lib/files.c
|
|
|
5b830c |
index a6beea5b8ff2..ef2170b079e1 100644
|
|
|
5b830c |
--- a/lib/files.c
|
|
|
5b830c |
+++ b/lib/files.c
|
|
|
5b830c |
@@ -687,7 +687,7 @@ tool_rc files_save_ESYS_TR(ESYS_CONTEXT *ectx, ESYS_TR handle, const char *path)
|
|
|
5b830c |
size_t offset = 0; \
|
|
|
5b830c |
TSS2_RC rc = Tss2_MU_##type##_Unmarshal(buffer, size, &offset, name); \
|
|
|
5b830c |
if (rc != TSS2_RC_SUCCESS) { \
|
|
|
5b830c |
- LOG_ERR("Error serializing "str(name)" structure: 0x%x", rc); \
|
|
|
5b830c |
+ LOG_ERR("Error deserializing "str(name)" structure: 0x%x", rc); \
|
|
|
5b830c |
LOG_ERR("The input file needs to be a valid "xstr(type)" data structure"); \
|
|
|
5b830c |
return false; \
|
|
|
5b830c |
} \
|
|
|
5b830c |
--
|
|
|
5b830c |
2.31.0
|
|
|
5b830c |
|