aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--insmod.c6
-rw-r--r--modutils/insmod.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/insmod.c b/insmod.c
index 0b06b5c40..4e159be5d 100644
--- a/insmod.c
+++ b/insmod.c
@@ -70,7 +70,7 @@
70#ifndef MODUTILS_MODULE_H 70#ifndef MODUTILS_MODULE_H
71#define MODUTILS_MODULE_H 1 71#define MODUTILS_MODULE_H 1
72 72
73#ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" 73#ident "$Id: insmod.c,v 1.22 2000/08/22 05:18:30 andersen Exp $"
74 74
75/* This file contains the structures used by the 2.0 and 2.1 kernels. 75/* This file contains the structures used by the 2.0 and 2.1 kernels.
76 We do not use the kernel headers directly because we do not wish 76 We do not use the kernel headers directly because we do not wish
@@ -276,7 +276,7 @@ int delete_module(const char *);
276#ifndef MODUTILS_OBJ_H 276#ifndef MODUTILS_OBJ_H
277#define MODUTILS_OBJ_H 1 277#define MODUTILS_OBJ_H 1
278 278
279#ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" 279#ident "$Id: insmod.c,v 1.22 2000/08/22 05:18:30 andersen Exp $"
280 280
281/* The relocatable object is manipulated using elfin types. */ 281/* The relocatable object is manipulated using elfin types. */
282 282
@@ -576,7 +576,7 @@ static int findNamedModule(const char *fileName, struct stat *statbuf,
576 tmp++; 576 tmp++;
577 if (check_wildcard_match(tmp, fullName) == TRUE) { 577 if (check_wildcard_match(tmp, fullName) == TRUE) {
578 /* Stop searching if we find a match */ 578 /* Stop searching if we find a match */
579 memcpy(m_filename, fileName, strlen(fileName)); 579 memcpy(m_filename, fileName, strlen(fileName)+1);
580 return (FALSE); 580 return (FALSE);
581 } 581 }
582 } 582 }
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 0b06b5c40..4e159be5d 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -70,7 +70,7 @@
70#ifndef MODUTILS_MODULE_H 70#ifndef MODUTILS_MODULE_H
71#define MODUTILS_MODULE_H 1 71#define MODUTILS_MODULE_H 1
72 72
73#ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" 73#ident "$Id: insmod.c,v 1.22 2000/08/22 05:18:30 andersen Exp $"
74 74
75/* This file contains the structures used by the 2.0 and 2.1 kernels. 75/* This file contains the structures used by the 2.0 and 2.1 kernels.
76 We do not use the kernel headers directly because we do not wish 76 We do not use the kernel headers directly because we do not wish
@@ -276,7 +276,7 @@ int delete_module(const char *);
276#ifndef MODUTILS_OBJ_H 276#ifndef MODUTILS_OBJ_H
277#define MODUTILS_OBJ_H 1 277#define MODUTILS_OBJ_H 1
278 278
279#ident "$Id: insmod.c,v 1.21 2000/08/21 19:38:49 andersen Exp $" 279#ident "$Id: insmod.c,v 1.22 2000/08/22 05:18:30 andersen Exp $"
280 280
281/* The relocatable object is manipulated using elfin types. */ 281/* The relocatable object is manipulated using elfin types. */
282 282
@@ -576,7 +576,7 @@ static int findNamedModule(const char *fileName, struct stat *statbuf,
576 tmp++; 576 tmp++;
577 if (check_wildcard_match(tmp, fullName) == TRUE) { 577 if (check_wildcard_match(tmp, fullName) == TRUE) {
578 /* Stop searching if we find a match */ 578 /* Stop searching if we find a match */
579 memcpy(m_filename, fileName, strlen(fileName)); 579 memcpy(m_filename, fileName, strlen(fileName)+1);
580 return (FALSE); 580 return (FALSE);
581 } 581 }
582 } 582 }