From 11e40dc8efd7d2295832f1e50fb385e80379d073 Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Sat, 25 Sep 2021 02:06:26 +0800 Subject: [PATCH] Remove unintended code block --- lkmpg.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.39.5