[PATCH 3/5] samples/bpf: Fix a spelling typo in tracex1.bpf.c

Chu Guangqing posted 5 patches 2 months ago
There is a newer version of this series
[PATCH 3/5] samples/bpf: Fix a spelling typo in tracex1.bpf.c
Posted by Chu Guangqing 2 months ago
This patch fixes a spelling typo in tracex1.bpf.c

Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
---
 samples/bpf/tracex1.bpf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/bpf/tracex1.bpf.c b/samples/bpf/tracex1.bpf.c
index 0ab39d76ff8f..ceedf0b1d479 100644
--- a/samples/bpf/tracex1.bpf.c
+++ b/samples/bpf/tracex1.bpf.c
@@ -20,7 +20,7 @@ SEC("kprobe.multi/__netif_receive_skb_core*")
 int bpf_prog1(struct pt_regs *ctx)
 {
 	/* attaches to kprobe __netif_receive_skb_core,
-	 * looks for packets on loobpack device and prints them
+	 * looks for packets on loopback device and prints them
 	 * (wildcard is used for avoiding symbol mismatch due to optimization)
 	 */
 	char devname[IFNAMSIZ];
-- 
2.47.3