mirror of https://github.com/thesofproject/sof.git
rimage: ext_manifest: fix fwrite arguments
this will fix parameter order to: size, count Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
This commit is contained in:
parent
c0092bbf7a
commit
0f72917521
|
@ -198,7 +198,7 @@ int ext_man_write_cavs_25(struct image *image)
|
|||
|
||||
for (i = 0; i < count; i++)
|
||||
header.len += mod_ext->ext_mod_config_array[i].header.ext_module_config_length;
|
||||
fwrite(&header, 1, sizeof(header), image->out_ext_man_fd);
|
||||
fwrite(&header, sizeof(header), 1, image->out_ext_man_fd);
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
write_ret = fwrite(&mod_ext->ext_mod_config_array[i].header,
|
||||
|
|
Loading…
Reference in New Issue