summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s6-rc/s6-rc-update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc-update.c b/src/s6-rc/s6-rc-update.c
index d94a572..6d8a1aa 100644
--- a/src/s6-rc/s6-rc-update.c
+++ b/src/s6-rc/s6-rc-update.c
@@ -224,8 +224,8 @@ static void compute_transitions (char const *convfile, unsigned char *oldstate,
unsigned int oldn = olddb->nshort + olddb->nlong ;
unsigned int newn = newdb->nshort + newdb->nlong ;
unsigned int newm = bitarray_div8(newn) ;
- unsigned int oldindex[oldn] ;
unsigned int sabase = sa->len ;
+ unsigned int oldindex[oldn] ;
unsigned char conversion_table[oldn * newm] ;
byte_zero(conversion_table, oldn * newm) ;
stuff_with_oldc(oldstate, fdoldc, olddb, convfile, oldindex, sa) ;