aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/confdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 249a3195e..d13a7d66b 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -348,7 +348,7 @@ int conf_write(const char *name)
348 dirname[0] = 0; 348 dirname[0] = 0;
349 if (name && name[0]) { 349 if (name && name[0]) {
350 struct stat st; 350 struct stat st;
351 char *slash; 351 const char *slash;
352 352
353 if (!stat(name, &st) && S_ISDIR(st.st_mode)) { 353 if (!stat(name, &st) && S_ISDIR(st.st_mode)) {
354 strcpy(dirname, name); 354 strcpy(dirname, name);