X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fbytecode%2Fbytecode.c;h=aadfc17a173ccf528182a023532b701f8c73e716;hp=1798f9ba27b3fc035c6aa0af594a261e55f7b7a1;hb=1cbd136b2479ef142bfb339b13d3d25aa772dda5;hpb=ca806b0b247f89c62ac628a7779ae84049a8c2d7 diff --git a/src/common/bytecode/bytecode.c b/src/common/bytecode/bytecode.c index 1798f9ba2..aadfc17a1 100644 --- a/src/common/bytecode/bytecode.c +++ b/src/common/bytecode/bytecode.c @@ -42,7 +42,7 @@ static int32_t bytecode_reserve(struct lttng_bytecode_alloc **fb, uint32_t align, uint32_t len) { int32_t ret; - uint32_t padding = offset_align((*fb)->b.len, align); + uint32_t padding = lttng_offset_align((*fb)->b.len, align); uint32_t new_len = (*fb)->b.len + padding + len; uint32_t new_alloc_len = sizeof(struct lttng_bytecode_alloc) + new_len; uint32_t old_alloc_len = (*fb)->alloc_len;