*/
if ((unknown_sections > 0) && (good_sections > 0))
_bfd_error_handler
- ("%s appears to be a core file,\nbut contains unknown sections. It may have been created on an incompatible\nversion of HP-UX. As a result, some information may be unavailable.\n",
- abfd->filename);
+ ("%B appears to be a core file,\nbut contains unknown sections."
+ " It may have been created on an incompatible\nversion of HP-UX."
+ " As a result, some information may be unavailable.\n",
+ abfd);
return abfd->xvec;