Changes to allow compilation of NV_Certify.c
BUG=none
TEST=compilation succeeds:
cc -Wall -Werror -c -o /dev/null NV_Certify.c
Change-Id: Idd7649090057ceed223efcbab681f8d81bb9c8fb
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274244
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
diff --git a/NV_Certify.c b/NV_Certify.c
index 36ec53b..7e147bf 100644
--- a/NV_Certify.c
+++ b/NV_Certify.c
@@ -83,7 +83,7 @@
// Get the name of the index
certifyInfo.attested.nv.indexName.t.size =
- NvGetName(in->nvIndex, &certifyInfo.attested.nv.indexName.t.name);
+ NvGetName(in->nvIndex, &certifyInfo.attested.nv.indexName.t.buffer);
// Set the return size
certifyInfo.attested.nv.nvContents.t.size = in->size;