X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.c;h=6aa994ca0925f38fd56d04c43c4937f0cf93a783;hb=08ff387dbcbf626a171a50d0cbdee7b103997c56;hp=95a79cf75dc10de27daf335b927043f9231bfa29;hpb=dbfc656f7bcbe0333d65536f0d7f3e52b6f24e74;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index 95a79cf7..6aa994ca 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -1146,7 +1147,8 @@ static int lttng_match_enabler_star_glob(const char *desc_name, const char *pattern) { - if (!strutils_star_glob_match(pattern, SIZE_MAX, desc_name, SIZE_MAX)) + if (!strutils_star_glob_match(pattern, LTTNG_SIZE_MAX, + desc_name, LTTNG_SIZE_MAX)) return 0; return 1; }