diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/depmod.c | 2 | ||||
-rw-r--r-- | modutils/modutils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index 5b9e9e864..a4474d5e4 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c | |||
@@ -50,7 +50,7 @@ static int FAST_FUNC parse_module(const char *fname, struct stat *sb, | |||
50 | if (strrstr(fname, ".ko") == NULL) | 50 | if (strrstr(fname, ".ko") == NULL) |
51 | return TRUE; | 51 | return TRUE; |
52 | 52 | ||
53 | image = (char *) xmalloc_open_zipped_read_close(fname, &len); | 53 | image = xmalloc_open_zipped_read_close(fname, &len); |
54 | info = xzalloc(sizeof(module_info)); | 54 | info = xzalloc(sizeof(module_info)); |
55 | 55 | ||
56 | info->next = *first; | 56 | info->next = *first; |
diff --git a/modutils/modutils.c b/modutils/modutils.c index 10b49c901..0d7d72d8b 100644 --- a/modutils/modutils.c +++ b/modutils/modutils.c | |||
@@ -123,7 +123,7 @@ int FAST_FUNC bb_init_module(const char *filename, const char *options) | |||
123 | #endif | 123 | #endif |
124 | 124 | ||
125 | /* Use the 2.6 way */ | 125 | /* Use the 2.6 way */ |
126 | image = (char *) xmalloc_open_zipped_read_close(filename, &len); | 126 | image = xmalloc_open_zipped_read_close(filename, &len); |
127 | if (image) { | 127 | if (image) { |
128 | if (init_module(image, len, options) != 0) | 128 | if (init_module(image, len, options) != 0) |
129 | rc = errno; | 129 | rc = errno; |