Skip to content

Commit

Permalink
Merge pull request #247 from nak3:fix-typo
Browse files Browse the repository at this point in the history
Fix tiny typo
  • Loading branch information
alessandrod committed Apr 28, 2022
2 parents 7d08783 + 80913c0 commit 2e494a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bpf/aya-bpf/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ pub unsafe fn bpf_probe_write_user<T>(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
Expand Down Expand Up @@ -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;
///
Expand Down

0 comments on commit 2e494a1

Please sign in to comment.