From 64353ac7ef141503bf1443ee333836b4df04d605 Mon Sep 17 00:00:00 2001 From: wurrrrrrrrrr <409411716@gms.tku.edu.tw> Date: Tue, 15 Apr 2025 18:09:15 +0800 Subject: [PATCH] Fix incorrect tense in sentence. Replaced "when a user read" with "when a user reads" for correct grammar. --- lkmpg.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lkmpg.tex b/lkmpg.tex index 99b751e..a587873 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -1230,7 +1230,7 @@ Consider using this mechanism, in case you want to document something kernel rel As we have seen, writing a \verb|/proc| file may be quite ``complex''. So to help people writing \verb|/proc| file, there is an API named \cpp|seq_file| that helps formatting a \verb|/proc| file for output. It is based on sequence, which is composed of 3 functions: \cpp|start()|, \cpp|next()|, and \cpp|stop()|. -The \cpp|seq_file| API starts a sequence when a user read the \verb|/proc| file. +The \cpp|seq_file| API starts a sequence when a user reads 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, the \cpp|stop()| function is called directly.