From 74a450ba92de1be427d33d2acb35d2bfc54613b1 Mon Sep 17 00:00:00 2001 From: jouae <51120603+jouae@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:46:45 +0800 Subject: [PATCH] Fix a typo Delete the duplicate word "otherwise" Before and after: otherwise, otherwise -> otherwise --- lkmpg.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lkmpg.tex b/lkmpg.tex index 91afb50..a14c7f3 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -1234,7 +1234,7 @@ It is based on sequence, which is composed of 3 functions: \cpp|start()|, \cpp|n The \cpp|seq_file| API starts a sequence when a user read the \verb|/proc| file. A sequence begins with the call of the function \cpp|start()|. -If the return is a non \cpp|NULL| value, the function \cpp|next()| is called; otherwise, otherwise, the \cpp|stop()| function is called directly. +If the return is a non \cpp|NULL| value, the function \cpp|next()| is called; otherwise, the \cpp|stop()| function is called directly. This function is an iterator, the goal is to go through all the data. Each time \cpp|next()| is called, the function \cpp|show()| is also called. It writes data values in the buffer read by the user.