]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
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 87c7d7d819bdf51699d9f38740ed730463cd2141..1bbc075a3417a35941193c059348e82d6e59382b 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 f4ed033e65c60e3252e81733c1cd1e94fbcbe165..05382239f9984d397939706b42959feda48b7d5f 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);