aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs6rc/s6rc_repo_sync.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-09-15 17:35:15 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-09-15 17:35:15 +0000
commit094f6e3d0284f0ee97615e4433a100208668698a (patch)
tree0aa29dd67d9df9f600a4d2deda13cbec187d1b1d /src/libs6rc/s6rc_repo_sync.c
parent82091de2b091fbfa548b0d273067de22d49ca9d3 (diff)
downloads6-rc-094f6e3d0284f0ee97615e4433a100208668698a.tar.gz
Implement badsub, refactor moveservices, get ready for enable/disable
Diffstat (limited to 'src/libs6rc/s6rc_repo_sync.c')
-rw-r--r--src/libs6rc/s6rc_repo_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6rc/s6rc_repo_sync.c b/src/libs6rc/s6rc_repo_sync.c
index 46b14be..cc4db03 100644
--- a/src/libs6rc/s6rc_repo_sync.c
+++ b/src/libs6rc/s6rc_repo_sync.c
@@ -92,7 +92,7 @@ static int unlink_stales_in_sub (char const *repo, char const *set, char const *
static inline int s6rc_repo_syncset (char const *repo, size_t repolen, char const *set, stralloc *sa, genalloc *ga, unsigned int verbosity)
{
for (unsigned int i = 0 ; i < 4 ; i++)
- if (unlink_stales_in_sub(repo, set, s6rc_repo_sublist[i], i, sa, ga, verbosity)) goto err ;
+ if (unlink_stales_in_sub(repo, set, s6rc_repo_subnames[i], i, sa, ga, verbosity)) goto err ;
{
size_t n = genalloc_len(size_t, ga) ;