summaryrefslogtreecommitdiff
path: root/scripts/config/confdata.c
diff options
context:
space:
mode:
authorPeter Kjellerstedt2005-04-19 09:55:06 +0000
committerPeter Kjellerstedt2005-04-19 09:55:06 +0000
commitbae38db8e42b2d09b920d9430d18ee41bdcc0b17 (patch)
tree3e1ebb993c7c1979858d58dfd5a923e60a67ec5d /scripts/config/confdata.c
parent2bf88a891fb9359951bab83b74296ce036a50ae0 (diff)
downloadbusybox-bae38db8e42b2d09b920d9430d18ee41bdcc0b17.zip
busybox-bae38db8e42b2d09b920d9430d18ee41bdcc0b17.tar.gz
Updated to match trunk/uClibc/extra/config as of r10132, and thus
Linux 2.6.11.
Diffstat (limited to 'scripts/config/confdata.c')
-rw-r--r--scripts/config/confdata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/config/confdata.c b/scripts/config/confdata.c
index fd3a345..7b9000e 100644
--- a/scripts/config/confdata.c
+++ b/scripts/config/confdata.c
@@ -23,10 +23,10 @@ const char *conf_confnames[] = {
NULL,
};
-static char *conf_expand_value(const char *in)
+static char *conf_expand_value(const signed char *in)
{
struct symbol *sym;
- const char *src;
+ const signed char *src;
static char res_value[SYMBOL_MAXLENGTH];
char *dst, name[SYMBOL_MAXLENGTH];
@@ -287,7 +287,7 @@ int conf_write(const char *name)
} else
basename = conf_def_filename;
- sprintf(newname, "%s.tmpconfig.%d", dirname, getpid());
+ sprintf(newname, "%s.tmpconfig.%d", dirname, (int)getpid());
out = fopen(newname, "w");
if (!out)
return 1;