]> Git Repo - binutils.git/blobdiff - binutils/rescoff.c
Fix xcalloc() calls so order of arguments is not reversed.
[binutils.git] / binutils / rescoff.c
index 64cf572b2d86ff789f0b65e1a6526095f23c3ab0..e24402ba008ae4407044c234edab2a3b234f09bf 100644 (file)
@@ -1,5 +1,5 @@
 /* rescoff.c -- read and write resources in Windows COFF files.
-   Copyright 1997, 1998, 2000 Free Software Foundation, Inc.
+   Copyright 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Cygnus Support.
 
    This file is part of GNU Binutils.
@@ -142,9 +142,7 @@ read_coff_rsrc (filename, target)
   sec = bfd_get_section_by_name (abfd, ".rsrc");
   if (sec == NULL)
     {
-      fprintf (stderr, _("%s: %s: no resource section\n"), program_name,
-              filename);
-      xexit (1);
+      fatal (_("%s: no resource section"), filename);
     }
 
   size = bfd_section_size (abfd, sec);
This page took 0.023205 seconds and 4 git commands to generate.