summaryrefslogtreecommitdiff
path: root/lib/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vfprintf.c')
-rw-r--r--lib/vfprintf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/vfprintf.c b/lib/vfprintf.c
index b240b0d986..6e3d595f81 100644
--- a/lib/vfprintf.c
+++ b/lib/vfprintf.c
@@ -52,11 +52,11 @@ vfprintf (FILE *fp, const char *format, va_list args)
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;
}