From 66a12ffcf70b2702a9eee7f89cabe64aa9c46126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=C2=A0Decina?= Date: Sat, 31 Jul 2021 01:05:08 +0000 Subject: [PATCH] aya: programs: tweak LircMode2::query doc. --- aya/src/programs/lirc_mode2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aya/src/programs/lirc_mode2.rs b/aya/src/programs/lirc_mode2.rs index bd930588..8ae1ccd2 100644 --- a/aya/src/programs/lirc_mode2.rs +++ b/aya/src/programs/lirc_mode2.rs @@ -79,7 +79,7 @@ impl LircMode2 { Ok(self.data.link(LircLink::new(prog_fd, lircdev_fd))) } - /// Query lirc device for attached programs + /// Queries the lirc device for attached programs. pub fn query(target_fd: T) -> Result, ProgramError> { let prog_ids = query(target_fd.as_raw_fd(), BPF_LIRC_MODE2, 0, &mut None)?;