qca: fix kw issue

Change-Id: I5cfe4945dc965a67929ae54b1443855f182bb01d
Signed-off-by: Santan Kumar <santank@codeaurora.org>
This commit is contained in:
Santan Kumar 2018-04-04 16:06:51 +05:30 committed by Gerrit - the friendly Code Review server
parent e399649644
commit ed819c8cfc

View file

@ -356,7 +356,7 @@ int config_select(unsigned int addr, char *rcmd, int rcmd_size)
if (config) {
printf("Manual device tree config selected!\n");
snprintf(dtb_config_name, sizeof(dtb_config_name), config);
strlcpy(dtb_config_name, config, sizeof(dtb_config_name));
} else {
config = fdt_getprop(gd->fdt_blob, 0, "config_name", NULL);