mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "sysupgrade : fix UNINIT.STACK.MIGHT KW error"
This commit is contained in:
commit
1e42f2b6b8
1 changed files with 1 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ int find_mtd_part_size(char *mtdname)
|
|||
int flag = 0;
|
||||
char mtd_part[256];
|
||||
FILE *fp = fopen("/proc/mtd", "r");
|
||||
mtd_info_t mtd_dev_info;
|
||||
mtd_info_t mtd_dev_info = {0};
|
||||
|
||||
if (fp == NULL) {
|
||||
printf("Error finding mtd part\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue