Skip to content

Commit 53d071e

Browse files
authored
Merge pull request #63 from fennecJ/patch2
Fix typo
2 parents 4acc65b + 99faf5e commit 53d071e

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
@@ -896,7 +896,7 @@ \subsection{Unregistering A Device}
896896
However, there is a counter which keeps track of how many processes are using your module.
897897
You can see what its value is by looking at the 3rd field of \verb|/proc/modules|.
898898
If this number isn't zero, \sh|rmmod| will fail.
899-
Note that you do not have to check the counter from within \cpp|cleanup_module| because the check will be performed for you by the system call \cpp|sys_delete_module|, defined in \src{include/linux/syscalls.h}.
899+
Note that you do not have to check the counter within \cpp|cleanup_module| because the check will be performed for you by the system call \cpp|sys_delete_module|, defined in \src{include/linux/syscalls.h}.
900900
You should not use this counter directly, but there are functions defined in \src{include/linux/module.h} which let you increase, decrease and display this counter:
901901

902902
\begin{itemize}

0 commit comments

Comments
 (0)