From 4e31867a39dfab8b0f3be0dbac45a283e92ae9f0 Mon Sep 17 00:00:00 2001 From: jogo Date: Thu, 3 May 2012 21:03:50 +0000 Subject: adm5120: add missing NULL terminator to partition parser list Fixes #11372. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31574 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c b/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c index 58cf27743..f6a86f489 100644 --- a/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c +++ b/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c @@ -100,6 +100,7 @@ static const char const *parse_types[] = { #ifdef CONFIG_MTD_MYLOADER_PARTS "MyLoader", #endif + NULL, }; #define BANK_SIZE (2<<20) -- cgit v1.2.3