diff options
author | Tom Rini <trini@konsulko.com> | 2015-09-11 13:05:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-11 13:05:05 -0400 |
commit | b1fc3c56d2dc502e7a32afeea5282a0d795920e2 (patch) | |
tree | e75182d99d26381987e5088f76f58e13682ac8c3 /tools | |
parent | e8b81eef4499c32b11d5f120171f39f67db0db59 (diff) | |
parent | cc19722f040fe326b1622dd1e2699179def7e45d (diff) | |
download | u-boot-imx-b1fc3c56d2dc502e7a32afeea5282a0d795920e2.zip u-boot-imx-b1fc3c56d2dc502e7a32afeea5282a0d795920e2.tar.gz u-boot-imx-b1fc3c56d2dc502e7a32afeea5282a0d795920e2.tar.bz2 |
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mksunxiboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mksunxiboot.c b/tools/mksunxiboot.c index 3361251..676d392 100644 --- a/tools/mksunxiboot.c +++ b/tools/mksunxiboot.c @@ -99,7 +99,7 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } - memset(img.pad, 0, BLOCK_SIZE); + memset(&img, 0, sizeof(img)); /* get input file size */ file_size = lseek(fd_in, 0, SEEK_END); |