aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index d788a76c3..63ee9da71 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -282,11 +282,11 @@ extern int insmod_ng_main( int argc, char **argv);
282#ifndef MODUTILS_MODULE_H 282#ifndef MODUTILS_MODULE_H
283static const int MODUTILS_MODULE_H = 1; 283static const int MODUTILS_MODULE_H = 1;
284 284
285#ident "$Id: insmod.c,v 1.116 2004/04/06 11:56:26 andersen Exp $" 285#ident "$Id: insmod.c,v 1.117 2004/04/14 17:51:22 andersen Exp $"
286 286
287/* This file contains the structures used by the 2.0 and 2.1 kernels. 287/* This file contains the structures used by the 2.0 and 2.1 kernels.
288 We do not use the kernel headers directly because we do not wish 288 We do not use the kernel headers directly because we do not wish
289 to be dependant on a particular kernel version to compile insmod. */ 289 to be dependent on a particular kernel version to compile insmod. */
290 290
291 291
292/*======================================================================*/ 292/*======================================================================*/
@@ -503,7 +503,7 @@ int delete_module(const char *);
503#ifndef MODUTILS_OBJ_H 503#ifndef MODUTILS_OBJ_H
504static const int MODUTILS_OBJ_H = 1; 504static const int MODUTILS_OBJ_H = 1;
505 505
506#ident "$Id: insmod.c,v 1.116 2004/04/06 11:56:26 andersen Exp $" 506#ident "$Id: insmod.c,v 1.117 2004/04/14 17:51:22 andersen Exp $"
507 507
508/* The relocatable object is manipulated using elfin types. */ 508/* The relocatable object is manipulated using elfin types. */
509 509
@@ -2597,8 +2597,8 @@ new_process_module_arguments(struct obj_file *f, int argc, char **argv)
2597 str = alloca(r - q + 1); 2597 str = alloca(r - q + 1);
2598 memcpy(str, q, r - q); 2598 memcpy(str, q, r - q);
2599 2599
2600 /* I don't know if it is usefull, as the previous case 2600 /* I don't know if it is useful, as the previous case
2601 doesn't null terminate the string ??? */ 2601 doesn't nul terminate the string ??? */
2602 str[r - q] = '\0'; 2602 str[r - q] = '\0';
2603 2603
2604 /* Keep next fields */ 2604 /* Keep next fields */