X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.c;h=ff13b7c09f9aa76e72e754a5525c086837411cc5;hb=48ccd619dac8aa4f6752db0efe07b821082828e2;hp=24e817bd47d4d8c1cee894e4e34653b0f47d1d24;hpb=46e25482873e8c85b547db4cec1734f127b27488;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index 24e817bd..ff13b7c0 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -28,10 +28,10 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -1183,8 +1183,8 @@ static int lttng_match_enabler_star_glob(const char *desc_name, const char *pattern) { - if (!strutils_star_glob_match(pattern, LTTNG_SIZE_MAX, - desc_name, LTTNG_SIZE_MAX)) + if (!strutils_star_glob_match(pattern, SIZE_MAX, + desc_name, SIZE_MAX)) return 0; return 1; }