diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-12 11:28:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-12 11:28:20 +0200 |
commit | 41122e10f77af5691dce8cc83114d4fd3a9f21f5 (patch) | |
tree | ff8cc717857f09c66789d306f5942422bd5010f4 /scripts/imx/imx.c | |
parent | af66ec677c40dfaed68a124d21dd59d5f8c63381 (diff) | |
parent | 48aae39f2dddf43304769cd7f88390c51f395578 (diff) | |
download | barebox-41122e10f77af5691dce8cc83114d4fd3a9f21f5.tar.gz barebox-41122e10f77af5691dce8cc83114d4fd3a9f21f5.tar.xz |
Merge https://github.com/robostac/bareboxv2019.08.0
Diffstat (limited to 'scripts/imx/imx.c')
-rw-r--r-- | scripts/imx/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/imx/imx.c b/scripts/imx/imx.c index f37f151acb..4f18d90d3a 100644 --- a/scripts/imx/imx.c +++ b/scripts/imx/imx.c @@ -310,7 +310,7 @@ static int do_hab(struct config_data *data, int argc, char *argv[]) if (!data->csf) { data->csf_space = 0x10000; - data->csf = malloc(data->csf_space + 1); + data->csf = calloc(data->csf_space + 1, 1); if (!data->csf) return -ENOMEM; } |