Fix error message.
authorRoland McGrath <roland@redhat.com>
Tue, 14 Apr 2009 11:39:32 +0000 (04:39 -0700)
committerRoland McGrath <roland@redhat.com>
Tue, 14 Apr 2009 11:39:32 +0000 (04:39 -0700)
src/ChangeLog
src/readelf.c

index 87c7d7d..1bbc075 100644 (file)
@@ -1,5 +1,7 @@
 2009-04-14  Roland McGrath  <roland@redhat.com>
 
+       * readelf.c (handle_core_registers): Fix error message.
+
        * strip.c (handle_elf: check_preserved): Don't note any change when
        .debug_data is already filled from a previous pass.
 
index f4ed033..0538223 100644 (file)
@@ -6922,7 +6922,7 @@ handle_core_registers (Ebl *ebl, Elf *core, const void *desc,
   ssize_t maxnreg = ebl_register_info (ebl, 0, NULL, 0, NULL, NULL, NULL, NULL);
   if (maxnreg <= 0)
     error (EXIT_FAILURE, 0,
-          gettext ("cannot register info: %s"), elf_errmsg (-1));
+          gettext ("cannot get register info: %s"), elf_errmsg (-1));
 
   struct register_info regs[maxnreg];
   memset (regs, 0, sizeof regs);