From 1b5442d9e15cb9549e2f2b25cb8f776482189054 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 22 Sep 2025 00:12:06 +0000 Subject: Add s6rc_repo_fixset --- src/repo/s6-rc-set-changestate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/repo') diff --git a/src/repo/s6-rc-set-changestate.c b/src/repo/s6-rc-set-changestate.c index 7a502b6..54aefd2 100644 --- a/src/repo/s6-rc-set-changestate.c +++ b/src/repo/s6-rc-set-changestate.c @@ -128,7 +128,7 @@ int main (int argc, char const *const *argv) if (fdlock == -1) strerr_diefu2sys(111, "lock ", wgola[GOLA_REPODIR]) ; tain_now_g() ; - if (!s6rc_repo_makesvlist(wgola[GOLA_REPODIR], argv[0], &storage, &svlist)) _exit(111) ; + if (!s6rc_repo_makesvlist_byname(wgola[GOLA_REPODIR], argv[0], &storage, &svlist)) _exit(111) ; list = genalloc_s(s6rc_repo_sv, &svlist) ; listn = genalloc_len(s6rc_repo_sv, &svlist) ; sabase = storage.len ; @@ -171,7 +171,7 @@ int main (int argc, char const *const *argv) m += len ; } - if (!s6rc_repo_badsub(wgola[GOLA_REPODIR], argv[0], tmpstart, n, newsub->sub, list, listn, &storage, &indices)) _exit(111) ; + if (!s6rc_repo_badsub(wgola[GOLA_REPODIR], argv[0], tmpstart, n, newsub->sub, 3, list, listn, &storage, &indices)) _exit(111) ; if (genalloc_len(uint32_t, &indices)) { uint32_t const *bads = genalloc_s(uint32_t, &indices) ; -- cgit v1.3.1