This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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);
      }
  }
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]