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

Unified Diff: firmware/stub/utility_stub.c

Issue 3041005: Add lots of debugging to TPM library. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Fix TPM unit tests Created 10 years, 5 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 | « firmware/linktest/main.c ('k') | firmware/version.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/stub/utility_stub.c
diff --git a/firmware/stub/utility_stub.c b/firmware/stub/utility_stub.c
index 1445008ce1ffd5cf0b8188f5ff96d34e6e8bb701..fdce55327180ec95a848aa1e1127626c07a2e57e 100644
--- a/firmware/stub/utility_stub.c
+++ b/firmware/stub/utility_stub.c
@@ -26,7 +26,7 @@ void error(const char *format, ...) {
void debug(const char *format, ...) {
va_list ap;
va_start(ap, format);
- fprintf(stderr, "WARNING: ");
+ fprintf(stderr, "DEBUG: ");
vfprintf(stderr, format, ap);
va_end(ap);
}
@@ -53,7 +53,7 @@ void* Memcpy(void* dest, const void* src, uint64_t n) {
}
void* Memset(void* d, const uint8_t c, uint64_t n) {
- uint8_t *dest = d; /* the only way to keep both cl and gcc happy */
+ uint8_t* dest = d; /* the only way to keep both cl and gcc happy */
while (n--) {
*dest++ = c;
}
« no previous file with comments | « firmware/linktest/main.c ('k') | firmware/version.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698