From 02f6f192517b07c5ceb31ccad6ab3a508b47beea Mon Sep 17 00:00:00 2001 From: Andrew Kreimer Date: Tue, 17 Jun 2025 19:08:30 +0300 Subject: [PATCH] Add missing 'is' There is a missing 'is' in the sentence, add it. --- lkmpg.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lkmpg.tex b/lkmpg.tex index 5d8eba79..35838480 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -1148,7 +1148,7 @@ \section{The /proc File System} Because we don't get called when the file is opened or closed, there's nowhere for us to put \cpp|try_module_get| and \cpp|module_put| in this module, and if the file is opened and then the module is removed, there's no way to avoid the consequences. -Here a simple example showing how to use a \verb|/proc| file. +Here is a simple example showing how to use a \verb|/proc| file. This is the HelloWorld for the \verb|/proc| filesystem. There are three parts: create the file \verb|/proc/helloworld| in the function \cpp|init_module|, return a value (and a buffer) when the file \verb|/proc/helloworld| is read in the callback function \cpp|procfile_read|, and delete the file \verb|/proc/helloworld| in the function \cpp|cleanup_module|.