diff options
author | root <root@lamia.panaceas.james.local> | 2017-03-15 13:50:51 +0000 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2017-03-15 13:50:51 +0000 |
commit | 2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf (patch) | |
tree | f145c6f6ad2dd52e271f1b84a4cfb8b8f0c6ce07 /tboot/vsprintf.c | |
parent | f327ade1d0333deee519b2c2977f8edae5b9fa3d (diff) | |
download | tboot-2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf.tar.gz tboot-2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf.tar.bz2 tboot-2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf.zip |
Diffstat (limited to 'tboot/vsprintf.c')
-rw-r--r-- | tboot/vsprintf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tboot/vsprintf.c b/tboot/vsprintf.c index a100cc0..cc7d488 100644 --- a/tboot/vsprintf.c +++ b/tboot/vsprintf.c @@ -93,7 +93,8 @@ static unsigned long write_pads_to_buffer(char *buf, size_t buf_len, unsigned long buf_pos, char pad, size_t pad_len) { - for ( unsigned int i = 0; i < pad_len; i++ ) + unsigned int i; + for ( i = 0; i < pad_len; i++ ) buf_pos = write_char_to_buffer(buf, buf_len, buf_pos, pad); return buf_pos; |