浏览代码

Remove unintended code block

Jim Huang 3 年之前
父节点
当前提交
11e40dc8ef
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lkmpg.tex

+ 2 - 2
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}
 \samplec{examples/hello-5.c}
 
 
 I would recommend playing around with this code:
 I would recommend playing around with this code:
-\begin{code}
+\begin{verbatim}
 $ sudo insmod hello-5.ko mystring="bebop" myintarray=-1
 $ sudo insmod hello-5.ko mystring="bebop" myintarray=-1
 $ dmesg -t | tail -7
 $ dmesg -t | tail -7
 myshort is a short integer: 1
 myshort is a short integer: 1
@@ -441,7 +441,7 @@ Goodbye, world 5
 
 
 $ sudo insmod hello-5.ko mylong=hello
 $ sudo insmod hello-5.ko mylong=hello
 insmod: ERROR: could not insert module hello-5.ko: Invalid parameters
 insmod: ERROR: could not insert module hello-5.ko: Invalid parameters
-\end{code}
+\end{verbatim}
 
 
 \subsection{Modules Spanning Multiple Files}
 \subsection{Modules Spanning Multiple Files}
 \label{modfiles}
 \label{modfiles}