From 260dc8281a93cca348b0ee84a793be8eba72c432 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 23 Oct 2012 13:42:35 +0200 Subject: [PATCH] fix build on debian --- examples/solv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4