aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
Diffstat (limited to 'libctf')
-rw-r--r--libctf/ctf-string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libctf/ctf-string.c b/libctf/ctf-string.c
index 0c5bd58..2d96e45 100644
--- a/libctf/ctf-string.c
+++ b/libctf/ctf-string.c
@@ -195,6 +195,8 @@ ctf_str_create_atoms (ctf_dict_t *fp)
atom->csa_offset = i;
}
+ fp->ctf_str_prov_offset = fp->ctf_str[CTF_STRTAB_0].cts_len + 1;
+
return 0;
oom_str_add: