projects
/
project
/
ubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kmodloader/get_module_info: initialized aliases to make it more clean
[project/ubox.git]
/
kmodloader.c
diff --git
a/kmodloader.c
b/kmodloader.c
index 3b7ec8b0f59cdc09180fad76fd978e4abd689072..1a63c9810a99e30009ef9a85c39dba6a65fb3264 100644
(file)
--- a/
kmodloader.c
+++ b/
kmodloader.c
@@
-327,7
+327,7
@@
static struct module* get_module_info(const char *module, const char *name)
int fd = open(module, O_RDONLY);
unsigned int offset, size;
char *map = MAP_FAILED, *strings, *dep = NULL;
int fd = open(module, O_RDONLY);
unsigned int offset, size;
char *map = MAP_FAILED, *strings, *dep = NULL;
- const char *aliases[32];
+ const char *aliases[32]
= { 0 }
;
int naliases = 0;
struct module *m = NULL;
struct stat s;
int naliases = 0;
struct module *m = NULL;
struct stat s;