/* boot_id depends on sysctl */
#if defined(CONFIG_SYSCTL)
-#include <linux/fs.h>
+#include <wrapper/fs.h>
#include <linux/file.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
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;