After changing the values, make sure that
new values are written on disk.
Bug-AGL: SPEC-3677
Change-Id: Ib72f72ba2571f046bd76b7985b503f7f598a72bf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
if (gc_dig(array, count, item, &index))
return count; /* already in */
- /* shift the elemetns above index */
+ /* shift the elements above index */
i = count;
while (i > index) {
array[i] = array[i - 1];
qsort_r(renum, new_count, sizeof *renum, cmpnames, filedb);
/* set as changed */
+ filedb->frules.saved = uuidlen;
+ filedb->fnames.saved = uuidlen;
filedb->is_changed = true;
}