projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e7a091
)
kconfig: use the file's name of sourced file
author
Arnaud Lacombe
<lacombar@gmail.com>
Sat, 4 Sep 2010 20:09:26 +0000
(16:09 -0400)
committer
Arnaud Lacombe
<lacombar@gmail.com>
Mon, 20 Sep 2010 02:54:04 +0000
(22:54 -0400)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/zconf.l
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kconfig/zconf.l
b/scripts/kconfig/zconf.l
index 2b0265082d0aa95b88e7b5f7ee3953be93000fee..3dbaec185cc486d183ed5ba87cfe848635e4b968 100644
(file)
--- a/
scripts/kconfig/zconf.l
+++ b/
scripts/kconfig/zconf.l
@@
-304,9
+304,10
@@
void zconf_nextfile(const char *name)
memset(buf, 0, sizeof(*buf));
current_buf->state = YY_CURRENT_BUFFER;
- yyin = zconf_fopen(name);
+ yyin = zconf_fopen(
file->
name);
if (!yyin) {
- printf("%s:%d: can't open file \"%s\"\n", zconf_curname(), zconf_lineno(), name);
+ printf("%s:%d: can't open file \"%s\"\n",
+ zconf_curname(), zconf_lineno(), file->name);
exit(1);
}
yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE));