This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
fix build breakage
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Wed, 27 May 2009 14:35:35 +0100
- Subject: fix build breakage
My --enable-targets=all build failed with an error in sysdump.c -- passing a raw
string to printf. I committed this obvious fix.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
* sysdump.c (tab): Use puts rather than two printfs.
Index: sysdump.c
===================================================================
RCS file: /cvs/src/src/binutils/sysdump.c,v
retrieving revision 1.20
diff -c -3 -p -r1.20 sysdump.c
*** sysdump.c 15 Oct 2007 02:00:56 -0000 1.20
--- sysdump.c 27 May 2009 13:32:53 -0000
*************** tab (int i, char *s)
*** 529,536 ****
if (s)
{
p ();
! printf (s);
! printf ("\n");
}
}
--- 529,535 ----
if (s)
{
p ();
! puts (s);
}
}