From: Michael Schroeder Date: Tue, 23 Oct 2012 11:42:35 +0000 (+0200) Subject: fix build on debian X-Git-Tag: upstream/0.2.3~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=260dc8281a93cca348b0ee84a793be8eba72c432;p=platform%2Fupstream%2Flibsolv.git fix build on debian --- diff --git a/examples/solv.c b/examples/solv.c index 3c4e336..185a97b 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -1715,7 +1715,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos) repo_free(ref, 1); #endif #if defined(ENABLE_DEBIAN) && defined(DEBIAN) - if (repo_add_debdb(repo, 0, REPO_REUSE_REPODATA | REPO_USE_ROOTDIR) && !rootdir) + if (repo_add_debdb(repo, REPO_REUSE_REPODATA | REPO_USE_ROOTDIR)) { fprintf(stderr, "installed db: %s\n", pool_errstr(pool)); exit(1);