summaryrefslogtreecommitdiffstats
path: root/tools/mksunxiboot.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-09-11 13:05:05 -0400
committerTom Rini <trini@konsulko.com>2015-09-11 13:05:05 -0400
commitb1fc3c56d2dc502e7a32afeea5282a0d795920e2 (patch)
treee75182d99d26381987e5088f76f58e13682ac8c3 /tools/mksunxiboot.c
parente8b81eef4499c32b11d5f120171f39f67db0db59 (diff)
parentcc19722f040fe326b1622dd1e2699179def7e45d (diff)
downloadblackbird-obmc-uboot-b1fc3c56d2dc502e7a32afeea5282a0d795920e2.tar.gz
blackbird-obmc-uboot-b1fc3c56d2dc502e7a32afeea5282a0d795920e2.zip
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
Diffstat (limited to 'tools/mksunxiboot.c')
-rw-r--r--tools/mksunxiboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mksunxiboot.c b/tools/mksunxiboot.c
index 3361251c8e..676d392fb4 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);
OpenPOWER on IntegriCloud