diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index c21f22b74..8668aaa0f 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -133,7 +133,7 @@ | |||
133 | #ifndef MODUTILS_MODULE_H | 133 | #ifndef MODUTILS_MODULE_H |
134 | static const int MODUTILS_MODULE_H = 1; | 134 | static const int MODUTILS_MODULE_H = 1; |
135 | 135 | ||
136 | #ident "$Id: insmod.c,v 1.74 2001/10/24 04:59:54 andersen Exp $" | 136 | #ident "$Id: insmod.c,v 1.75 2001/11/12 16:57:26 kraai Exp $" |
137 | 137 | ||
138 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 138 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
139 | We do not use the kernel headers directly because we do not wish | 139 | We do not use the kernel headers directly because we do not wish |
@@ -350,7 +350,7 @@ int delete_module(const char *); | |||
350 | #ifndef MODUTILS_OBJ_H | 350 | #ifndef MODUTILS_OBJ_H |
351 | static const int MODUTILS_OBJ_H = 1; | 351 | static const int MODUTILS_OBJ_H = 1; |
352 | 352 | ||
353 | #ident "$Id: insmod.c,v 1.74 2001/10/24 04:59:54 andersen Exp $" | 353 | #ident "$Id: insmod.c,v 1.75 2001/11/12 16:57:26 kraai Exp $" |
354 | 354 | ||
355 | /* The relocatable object is manipulated using elfin types. */ | 355 | /* The relocatable object is manipulated using elfin types. */ |
356 | 356 | ||
@@ -724,7 +724,7 @@ static int check_module_name_match(const char *filename, struct stat *statbuf, | |||
724 | if (fullname[0] == '\0') | 724 | if (fullname[0] == '\0') |
725 | return (FALSE); | 725 | return (FALSE); |
726 | else { | 726 | else { |
727 | char *tmp, *tmp1 = strdup(filename); | 727 | char *tmp, *tmp1 = xstrdup(filename); |
728 | tmp = get_last_path_component(tmp1); | 728 | tmp = get_last_path_component(tmp1); |
729 | if (strcmp(tmp, fullname) == 0) { | 729 | if (strcmp(tmp, fullname) == 0) { |
730 | free(tmp1); | 730 | free(tmp1); |