diff options
author | Laurent Riffard <laurent.riffard@free.fr> | 2006-06-11 02:02:06 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-16 17:45:45 -0400 |
commit | 9ac545b0f7161eaf2e180acc406c1dd6fdd77686 (patch) | |
tree | 641d17f54937941fa198c75992491fe1eaac975f /scripts | |
parent | 566f81ca598f80de03e80a9a743e94b65b4e017e (diff) |
kbuild: fix module.symvers parsing in modpost
read_dump didn't split lines between module name and export type.
Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index f27ddb841df8..d03c9fff5b2a 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -1289,7 +1289,7 @@ static void read_dump(const char *fname, unsigned int kernel) | |||
1289 | if (!(modname = strchr(symname, '\t'))) | 1289 | if (!(modname = strchr(symname, '\t'))) |
1290 | goto fail; | 1290 | goto fail; |
1291 | *modname++ = '\0'; | 1291 | *modname++ = '\0'; |
1292 | if (!(export = strchr(modname, '\t'))) | 1292 | if ((export = strchr(modname, '\t')) != NULL) |
1293 | *export++ = '\0'; | 1293 | *export++ = '\0'; |
1294 | 1294 | ||
1295 | crc = strtoul(line, &d, 16); | 1295 | crc = strtoul(line, &d, 16); |