diff --git a/LDP/guide/docbook/lkmpg/2.6/02-HelloWorld.sgml b/LDP/guide/docbook/lkmpg/2.6/02-HelloWorld.sgml index b5b5cfc2..00227b84 100644 --- a/LDP/guide/docbook/lkmpg/2.6/02-HelloWorld.sgml +++ b/LDP/guide/docbook/lkmpg/2.6/02-HelloWorld.sgml @@ -328,7 +328,7 @@ Module xxxxxx loaded, with warnings The module_param() macro takes 3 arguments: the name of the variable, its type and permissions for the corresponding file in sysfs. Integer types can be signed as usual or unsigned. If you'd like to use arrays of integers or strings see module_param_array() and - module_param_string(). + module_param_string(). @@ -346,7 +346,7 @@ module_param_array(myintarray, int, NULL, 0); /* not interested in count */ int myshortarray[4]; int count; -module_parm_array(myshortarray, short, &count, 0); /* put count into "count" variable */ +module_parm_array(myshortarray, short, &count, 0); /* put count into "count" variable */ A good use for this is to have the module variable's default values set, like an port or IO address. If the variables