X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=wrapper%2Frandom.c;h=f67d0f0c997df27e12709135e372a6d90b09992c;hb=bce099b208cb540917015b0f1c806ff29b1a687e;hp=d7e53cd140f0a7517fb6ce66b1c492e9959882c8;hpb=96aaa47dd0cc8f98e2e98afba336c04ee6743468;p=lttng-modules.git diff --git a/wrapper/random.c b/wrapper/random.c index d7e53cd1..f67d0f0c 100644 --- a/wrapper/random.c +++ b/wrapper/random.c @@ -14,7 +14,7 @@ /* boot_id depends on sysctl */ #if defined(CONFIG_SYSCTL) -#include +#include #include #include #include @@ -33,7 +33,7 @@ int wrapper_get_bootid(char *bootid) if (IS_ERR(file)) return PTR_ERR(file); - len = kernel_read(file, bootid, BOOT_ID_LEN - 1, &file->f_pos); + len = lttng_kernel_read(file, bootid, BOOT_ID_LEN - 1, &file->f_pos); if (len != BOOT_ID_LEN - 1) { ret = -EINVAL; goto end;