diff mbox

kconfig: display an error message when aborting

Message ID 1259124522-26050-1-git-send-email-vapier@gentoo.org (mailing list archive)
State New, archived
Headers show

Commit Message

Mike Frysinger Nov. 25, 2009, 4:48 a.m. UTC
None
diff mbox

Patch

diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index b55e72f..e2644b4 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -640,6 +640,8 @@  static int conf_split_config(void)
 		fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
 		if (fd == -1) {
 			if (errno != ENOENT) {
+				conf_warning("sym '%s' with path '%s': %s",
+					     sym->name, path, strerror(errno));
 				res = 1;
 				break;
 			}