From 80913c04f3b97b640523e21e4c4a161c26fb4fe1 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Wed, 20 Apr 2022 12:55:30 +0900 Subject: [PATCH] Fix minor typo --- bpf/aya-bpf/src/helpers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bpf/aya-bpf/src/helpers.rs b/bpf/aya-bpf/src/helpers.rs index 868c5c2d..db29b0b7 100644 --- a/bpf/aya-bpf/src/helpers.rs +++ b/bpf/aya-bpf/src/helpers.rs @@ -410,7 +410,7 @@ pub unsafe fn bpf_probe_write_user(dst: *mut T, src: *const T) -> Result<(), /// /// ```no_run /// # #![allow(dead_code)] -/// # use aya_bpf:: helpers::bpf_get_current_comm; +/// # use aya_bpf::helpers::bpf_get_current_comm; /// let comm = bpf_get_current_comm(); /// /// // Do something with comm @@ -447,7 +447,7 @@ pub fn bpf_get_current_comm() -> Result<[c_char; 16], c_long> { /// /// ```no_run /// # #![allow(dead_code)] -/// # use aya_bpf:: helpers::bpf_get_current_pid_tgid; +/// # use aya_bpf::helpers::bpf_get_current_pid_tgid; /// let tgid = (bpf_get_current_pid_tgid() >> 32) as u32; /// let pid = bpf_get_current_pid_tgid() as u32; ///