A mostly cosmetic tidy up of warnings and error message reporting.
[deliverable/binutils-gdb.git] / binutils / rescoff.c
index 64cf572b2d86ff789f0b65e1a6526095f23c3ab0..45161c3677db09f4a31a0e94819545779e305b0e 100644 (file)
@@ -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.024934 seconds and 4 git commands to generate.