We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c3cca commit 11e40dcCopy full SHA for 11e40dc
lkmpg.tex
@@ -410,7 +410,7 @@ \subsection{Passing Command Line Arguments to a Module}
410
\samplec{examples/hello-5.c}
411
412
I would recommend playing around with this code:
413
-\begin{code}
+\begin{verbatim}
414
$ sudo insmod hello-5.ko mystring="bebop" myintarray=-1
415
$ dmesg -t | tail -7
416
myshort is a short integer: 1
@@ -441,7 +441,7 @@ \subsection{Passing Command Line Arguments to a Module}
441
442
$ sudo insmod hello-5.ko mylong=hello
443
insmod: ERROR: could not insert module hello-5.ko: Invalid parameters
444
-\end{code}
+\end{verbatim}
445
446
\subsection{Modules Spanning Multiple Files}
447
\label{modfiles}
0 commit comments