asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
[binutils-gdb.git] / gdb / solib-osf.c
index b5dca60750d0160cdb560a57f4ec15e4e40629b2..c7d1267af599d5b2ff382a2ebbe4719976e4eb28 100644 (file)
@@ -220,7 +220,7 @@ fetch_sec_names (struct lm_info *lmi)
       target_read_string (lms->nameaddr, &name, PATH_MAX, &errcode);
       if (errcode != 0)
        {
-         warning ("unable to read shared sec name at 0x%lx", lms->nameaddr);
+         warning (_("unable to read shared sec name at 0x%lx"), lms->nameaddr);
          name = xstrdup ("");
        }
       lms->name = name;
@@ -554,7 +554,6 @@ osf_current_sos (void)
       tail->next = NULL;
     }
 
- done:
   close_map (&ctxt);
   return head;
 }