Index: src/platform/vboot_reference/tests/rollback_index_mock.c |
diff --git a/src/platform/vboot_reference/tests/rollback_index_mock.c b/src/platform/vboot_reference/tests/rollback_index_mock.c |
index 37dde48c896a97b99db072b8a69e0e5fbbee5f55..9d67e1fbb283496e7d84806142a912c7ab2fa256 100644 |
--- a/src/platform/vboot_reference/tests/rollback_index_mock.c |
+++ b/src/platform/vboot_reference/tests/rollback_index_mock.c |
@@ -17,7 +17,7 @@ uint16_t g_kernel_version = 0; |
void SetupTPM(void) { |
#ifndef NDEBUG |
- fprintf(stderr, "Rollback Index Library Mock: TPM initialized.\n"); |
+ debug("Rollback Index Library Mock: TPM initialized.\n"); |
#endif |
} |
@@ -55,13 +55,13 @@ int WriteStoredVersion(int type, uint16_t version) { |
break; |
} |
#ifndef NDEBUG |
- fprintf(stderr, "Rollback Index Library Mock: Stored Version written.\n"); |
+ debug("Rollback Index Library Mock: Stored Version written.\n"); |
#endif |
return 1; |
} |
void LockStoredVersion(int type) { |
#ifndef NDEBUG |
- fprintf(stderr, "Rollback Index Library Mock: Version Locked.\n"); |
+ debug("Rollback Index Library Mock: Version Locked.\n"); |
#endif |
} |