This is the mail archive of the binutils@sources.redhat.com 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]

coff-rs6000.c typo fix.


A gcc warning alerted me to this one.

	* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.

Committed.

Index: bfd/coff-rs6000.c
===================================================================
RCS file: /cvs/src/src/bfd/coff-rs6000.c,v
retrieving revision 1.44
diff -u -p -r1.44 coff-rs6000.c
--- bfd/coff-rs6000.c	12 Jun 2002 16:04:39 -0000	1.44
+++ bfd/coff-rs6000.c	25 Jun 2002 07:35:39 -0000
@@ -3752,7 +3752,7 @@ xcoff_generate_rtinit  (abfd, init, fini
     {
       string_table_size += 4;
       string_table = (bfd_byte *) bfd_zmalloc (string_table_size);
-      if (string_table_size == NULL)
+      if (string_table == NULL)
 	return false;
 
       val = string_table_size;

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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