commit | 2e7a091833f014cac8a6b92573ca6cd2edd2753c | [log] [tgz] |
---|---|---|
author | Arnaud Lacombe <lacombar@gmail.com> | Sat Sep 04 16:03:30 2010 -0400 |
committer | Arnaud Lacombe <lacombar@gmail.com> | Sun Sep 19 22:54:00 2010 -0400 |
tree | 43ba1037f16dca5aba229a1a9b134b1ebb7b555f | |
parent | ba6ff60d5eb47d52f1a5eb0bb6ffa751be838c46 [diff] [blame] |
kconfig: constify file name Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l index d8f7236..2b02650 100644 --- a/scripts/kconfig/zconf.l +++ b/scripts/kconfig/zconf.l
@@ -353,7 +353,7 @@ return current_pos.lineno; } -char *zconf_curname(void) +const char *zconf_curname(void) { return current_pos.file ? current_pos.file->name : "<none>"; }