X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fuuid.c;h=b0b74c967ab0cc1e64970708706bb886496dab3e;hp=68fddc0a2ff0089376275b8db80064ad734bc880;hb=a1298db6cf0b806e968d9baa6da08ab78caf460b;hpb=14c4262b940630bbb75f68b8c2eaef2b134a62d9 diff --git a/src/common/uuid.c b/src/common/uuid.c index 68fddc0a2..b0b74c967 100644 --- a/src/common/uuid.c +++ b/src/common/uuid.c @@ -16,6 +16,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include #include @@ -43,7 +44,7 @@ int lttng_uuid_from_str(const char *str_in, lttng_uuid uuid_out) goto end; } - if (strnlen(str_in, LTTNG_UUID_STR_LEN) != LTTNG_UUID_STR_LEN - 1) { + if (lttng_strnlen(str_in, LTTNG_UUID_STR_LEN) != LTTNG_UUID_STR_LEN - 1) { ret = -1; goto end; }