diff --git a/lkmpg.tex b/lkmpg.tex index 91afb50e..a14c7f39 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -1234,7 +1234,7 @@ \subsection{Manage /proc file with seq\_file} 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.