Skip to content

Commit d8ad26a

Browse files
committed
Correct module name in rmmod example
The rmmod command in the example used a hyphen (hello-5), but Linux kernel module names conventionally use underscores (hello_5) to align with C identifier naming rules. This change corrects the module name to use an underscore, ensuring the documentation is consistent and avoiding potential confusion for readers trying to run the command. Signed-off-by: Chia-Hao Chiu <jordan871130@gmail.com>
1 parent ecf0ed9 commit d8ad26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lkmpg.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ \subsection{Passing Command Line Arguments to a Module}
591591
myintarray[1] = -1
592592
got 2 arguments for myintarray.
593593
594-
$ sudo rmmod hello-5
594+
$ sudo rmmod hello_5
595595
$ sudo dmesg -t | tail -1
596596
Goodbye, world 5
597597

0 commit comments

Comments
 (0)