char *str;
int i;
- str = talloc_strdup(ctx, "dns=");
+ str = talloc_strdup(ctx, "dns,");
for (i = 0; i < n; i++) {
str = talloc_asprintf_append(str, "%s%s",
i == 0 ? "" : ",",
static void update_network_config(struct powerpc_nvram_storage *nv,
struct config *config)
{
+ unsigned int i;
char *val;
- int i;
val = talloc_strdup(nv, "");