diff --git a/lkmpg.tex b/lkmpg.tex index bc0b78d4..c3587423 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -708,7 +708,7 @@ \subsection{Building modules for a precompiled kernel} \section{Preliminaries} \subsection{How modules begin and end} \label{sec:module_init_exit} -A typical program starts with a |main()| function, executes a series of instructions, +A typical program starts with a \cpp|main()| function, executes a series of instructions, and terminates after completing these instructions. Kernel modules, however, follow a different pattern. A module always begins with either the \cpp|init_module| function or a function designated by the \cpp|module_init| call.