From 69bbf2e485b3c928596a727f6ac31117ad8b738f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 21 Sep 2013 15:59:49 +0200 Subject: [PATCH] distromatic.c: fix a segfault while printing version of providing packages --- src/distromatic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distromatic.c b/src/distromatic.c index b4ed137..c923388 100644 --- a/src/distromatic.c +++ b/src/distromatic.c @@ -758,7 +758,7 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx) fprintf(stderr," %s (failing build provider(s):", currsourceheader->require[i]->version); for (j = 0; j < provided->numbuildproviders; j++) { fprintf(stderr," %s#%s", - provided->provider[j]->name, provided->version[j]); + provided->provider[j]->name, provided->buildprovider[j]->version); /* printrpmversion(buffer,PATH_MAX, provided->provider[j]->epoch, provided->provider[j]->version,