aboutsummaryrefslogtreecommitdiff
path: root/modutils/depmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/depmod.c')
-rw-r--r--modutils/depmod.c2
1 files changed, 1 insertions, 1 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,
if (strrstr(fname, ".ko") == NULL)
return TRUE;
- image = (char *) xmalloc_open_zipped_read_close(fname, &len);
+ image = xmalloc_open_zipped_read_close(fname, &len);
info = xzalloc(sizeof(module_info));
info->next = *first;