diff options
author | Jean Sacren <sakiwit@gmail.com> | 2010-08-04 16:01:02 -0600 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-13 00:40:26 +0200 |
commit | bf5e327a300a9ac959a89440e7c67dc89f3bd804 (patch) | |
tree | c8be365e0580656dd049e23ef5814bbafe8d73f5 /scripts/kconfig/confdata.c | |
parent | 866af407dad3f2202e5d5d717ebd6156ccc33cdd (diff) |
kconfig: Fix warning: ignoring return value of 'fwrite'
This fix facilitates fwrite() in both confdata.c and expr.c, either it
succeeds in writing, or an error occurs, or the end of file is reached.
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/confdata.c')
-rw-r--r-- | scripts/kconfig/confdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index ac13f0ff8e81..c39327e60ea4 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -412,7 +412,7 @@ static void conf_write_string(bool headerfile, const char *name, while (1) { l = strcspn(str, "\"\\"); if (l) { - fwrite(str, l, 1, out); + xfwrite(str, l, 1, out); str += l; } if (!*str) |