diff options
Diffstat (limited to 'lib/fprintf.c')
-rw-r--r-- | lib/fprintf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/fprintf.c b/lib/fprintf.c index 7070f95b45..eb1cf8e366 100644 --- a/lib/fprintf.c +++ b/lib/fprintf.c @@ -55,11 +55,11 @@ fprintf (FILE *fp, const char *format, ...) if (fwrite (output, 1, len, fp) < len) { if (output != buf) - { - int saved_errno = errno; - free (output); - errno = saved_errno; - } + { + int saved_errno = errno; + free (output); + errno = saved_errno; + } return -1; } |