[PATCH bpf-next 1/5] samples/bpf: Fix typo in comment

From: Leo Yan
Date: Wed Apr 18 2018 - 21:34:34 EST


Fix typo by replacing 'iif' with 'if'.

Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
---
samples/bpf/bpf_load.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/bpf/bpf_load.c b/samples/bpf/bpf_load.c
index bebe418..28e4678 100644
--- a/samples/bpf/bpf_load.c
+++ b/samples/bpf/bpf_load.c
@@ -393,7 +393,7 @@ static int load_elf_maps_section(struct bpf_map_data *maps, int maps_shndx,
continue;
if (sym[nr_maps].st_shndx != maps_shndx)
continue;
- /* Only increment iif maps section */
+ /* Only increment if maps section */
nr_maps++;
}

--
1.9.1