X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=lttng-events.c;h=6aa994ca0925f38fd56d04c43c4937f0cf93a783;hb=5d8496675c9e8ccf169871f4f72022df9677624a;hp=6bfe710f57ea24b9d2da90fc4de04f96347da325;hpb=4993071a89f88f92444cf62abdc0935efbc6c460;p=deliverable%2Flttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index 6bfe710f..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, -1ULL, desc_name, -1ULL)) + if (!strutils_star_glob_match(pattern, LTTNG_SIZE_MAX, + desc_name, LTTNG_SIZE_MAX)) return 0; return 1; }