Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: src/platform/vboot_reference/utils/rollback_index.c

Issue 1239006: Add another missing header to remove compile time error. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/utils/rollback_index.c
diff --git a/src/platform/vboot_reference/utils/rollback_index.c b/src/platform/vboot_reference/utils/rollback_index.c
index 0b65bf490f6c574709b7b525773027d73fff407e..c107f8e70ea8481e430aaa9f6c50300b7943d8bb 100644
--- a/src/platform/vboot_reference/utils/rollback_index.c
+++ b/src/platform/vboot_reference/utils/rollback_index.c
@@ -9,6 +9,7 @@
#include "rollback_index.h"
#include <stdint.h>
+#include <stdio.h>
#include <tss/tcs.h>
#include "tlcl.h"
@@ -22,7 +23,7 @@ static void InitializeSpaces(void) {
uint16_t zero = 0;
uint32_t perm = TPM_NV_PER_WRITE_STCLEAR | TPM_NV_PER_PPWRITE;
- printf("Initializing spaces\n");
+ fprintf(stderr, "Initializing spaces\n");
TlclSetNvLocked(); /* useful only the first time */
TlclDefineSpace(FIRMWARE_KEY_VERSION_NV_INDEX, perm, sizeof(uint16_t));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698