Skip to content
Snippets Groups Projects
user avatar
Ben Hutchings authored
This fixes compiler errors in perf such as:

tests/attr.c: In function 'store_event':
tests/attr.c:66:27: error: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type '__u64 {aka long unsigned int}' [-Werror=format=]
  snprintf(path, PATH_MAX, "%s/event-%d-%llu-%d", dir,
                           ^

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Tested-by: default avatarMichael Cree <mcree@orcon.net.nz>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
cec80d82
History
Name Last commit Last update