aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.de.marchi@gmail.com>2012-10-30 02:32:48 -0200
committerLucas De Marchi <lucas.de.marchi@gmail.com>2012-10-30 02:33:14 -0200
commitb51ac407c2320cea4c588ee0bf10332a340a027a (patch)
tree65504651f044d02a32a53e5b6a5eb1766a97e29b
parentcaaf438cb681c5b5b5b3c32e5b6bd12e96993dd7 (diff)
downloadkmod-b51ac407c2320cea4c588ee0bf10332a340a027a.tar.gz
depmod: do not create a hole in struct depmod
-rw-r--r--tools/depmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depmod.c b/tools/depmod.c
index ff19d6e..fcdb880 100644
--- a/tools/depmod.c
+++ b/tools/depmod.c
@@ -995,6 +995,7 @@ struct mod {
struct kmod_module *kmod;
const char *path;
const char *relpath; /* path relative to '$ROOT/lib/modules/$VER/' */
+ char *uncrelpath; /* same as relpath but ending in .ko */
struct array deps; /* struct symbol */
size_t baselen; /* points to start of basename/filename */
size_t modnamelen;
@@ -1003,7 +1004,6 @@ struct mod {
uint16_t idx; /* index in depmod->modules.array */
uint16_t users; /* how many modules depend on this one */
uint8_t dep_loop : 1;
- char *uncrelpath; /* same as relpath but ending in .ko */
char modname[];
};