X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libiberty%2F_doprnt.c;h=9723f32e6c055ebf5e27d013177be1687eff1c14;hb=5aa03310cef09e8c41aaa05152d9570dfe62ba81;hp=804b93977808cee9c27b620c99b01a88e43673d3;hpb=9334f9c6cd576128ec4fc891b5fcf267a7fca7fb;p=platform%2Fupstream%2Fbinutils.git diff --git a/libiberty/_doprnt.c b/libiberty/_doprnt.c index 804b939..9723f32 100644 --- a/libiberty/_doprnt.c +++ b/libiberty/_doprnt.c @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "ansidecl.h" @@ -222,11 +222,11 @@ static int checkit (const char* format, ...) { int result; - VA_OPEN (args, format); - VA_FIXEDARG (args, char *, format); + va_list args; + va_start (args, format); result = _doprnt (format, args, stdout); - VA_CLOSE (args); + va_end (args); return result; }