diff --git a/lib/repository_sync_index.c b/lib/repository_sync_index.c index 57938925..16735f44 100644 --- a/lib/repository_sync_index.c +++ b/lib/repository_sync_index.c @@ -162,7 +162,7 @@ xbps_repository_sync_pkg_index(struct xbps_handle *xhp, fetch_outputdir = xhp->metadir; /* reposync start cb */ - xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, plistf, uri, NULL); + xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, uri, plistf, NULL); /* * Download plist index file from repository. */