diff --git a/ChangeLog b/ChangeLog index 6504fad3d..668c60078 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-02-02 Matt Kraai + + * src/core/schema-bindings.c: Wrap g_error calls in braces. + 2009-02-01 Thomas Thurman * configure.in: Post-release bump to 2.25.233. diff --git a/src/core/schema-bindings.c b/src/core/schema-bindings.c index 77a428996..c19d0ca9e 100644 --- a/src/core/schema-bindings.c +++ b/src/core/schema-bindings.c @@ -138,12 +138,16 @@ produce_bindings () fprintf (target_file, "%s", buffer); if (fclose (source_file)!=0) + { g_error ("Cannot close %s: %s\n", source_filename, strerror (errno)); + } if (fclose (target_file)!=0) + { g_error ("Cannot close %s: %s\n", target_filename, strerror (errno)); + } } int