diff options
-rw-r--r-- | util/cbfstool/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h index b6386533cf..e889e52704 100644 --- a/util/cbfstool/common.h +++ b/util/cbfstool/common.h @@ -81,6 +81,7 @@ static inline void buffer_init(struct buffer *b, char *name, void *data, b->name = name; b->data = data; b->size = size; + b->offset = 0; } /* Splice a buffer into another buffer. Note that it's up to the caller to |