diff options
author | Randall Spangler <rspangler@chromium.org> | 2010-07-19 10:04:21 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2010-07-19 10:04:21 -0700 |
commit | 3e1081fb71385d72fd3a522599c35b516dda7a37 (patch) | |
tree | ec6911d49eee26e65c48f5371c2b50f3dcdb009c /firmware/stub | |
parent | aa92c634028dd883110f4ef3b103af7b684c46a5 (diff) | |
download | vboot-3e1081fb71385d72fd3a522599c35b516dda7a37.tar.gz |
Add lots of debugging to TPM library.
Temporarily disable TPM in developer mode.
Review URL: http://codereview.chromium.org/3041005
Diffstat (limited to 'firmware/stub')
-rw-r--r-- | firmware/stub/utility_stub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/stub/utility_stub.c b/firmware/stub/utility_stub.c index 3e17f773..ed58e0b2 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; } |