From: Jim Huang Date: Fri, 24 Sep 2021 18:06:26 +0000 (+0800) Subject: Remove unintended code block X-Git-Tag: latest~92 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=11e40dc8efd7d2295832f1e50fb385e80379d073;p=lkmpg Remove unintended code block --- diff --git a/lkmpg.tex b/lkmpg.tex index 1674787..7869139 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -410,7 +410,7 @@ It takes two parameters: a variable name and a free form string describing that \samplec{examples/hello-5.c} I would recommend playing around with this code: -\begin{code} +\begin{verbatim} $ sudo insmod hello-5.ko mystring="bebop" myintarray=-1 $ dmesg -t | tail -7 myshort is a short integer: 1 @@ -441,7 +441,7 @@ Goodbye, world 5 $ sudo insmod hello-5.ko mylong=hello insmod: ERROR: could not insert module hello-5.ko: Invalid parameters -\end{code} +\end{verbatim} \subsection{Modules Spanning Multiple Files} \label{modfiles}