X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funistdio%2Fulc-vfprintf.c;h=085e434ecbe114107cc2b2fdd8b4e051aa7f0a2a;hb=630a387fb1ef0a2fda5fd73c02c37328d65d0755;hp=ae63b149180c893f1ea3dd1a26817030dd47f56a;hpb=dac3bbf96357f7866a1094c228b4e5bea3fcf853;p=gnulib.git diff --git a/lib/unistdio/ulc-vfprintf.c b/lib/unistdio/ulc-vfprintf.c index ae63b1491..085e434ec 100644 --- a/lib/unistdio/ulc-vfprintf.c +++ b/lib/unistdio/ulc-vfprintf.c @@ -1,5 +1,5 @@ /* Formatted output to a stream. - Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. + Copyright (C) 2004, 2006-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -52,11 +52,11 @@ ulc_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; }