diff options
author | Roland McGrath <roland@redhat.com> | 2010-04-22 22:38:58 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-04-22 22:38:58 -0700 |
commit | 3c6ee4b62787738d4524e4a83c97f1a64ce15379 (patch) | |
tree | 368b61a92e54c0456060dbe25de1fb4ffb349335 /tests/addrcfi.c | |
parent | 3b2486c20c147b420b37a2f610912547b482ee1d (diff) | |
download | elfutils-3c6ee4b62787738d4524e4a83c97f1a64ce15379.tar.gz |
Fix tests/addrcfi error reporting.
Diffstat (limited to 'tests/addrcfi.c')
-rw-r--r-- | tests/addrcfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/addrcfi.c b/tests/addrcfi.c index 2a3db05c..4e042418 100644 --- a/tests/addrcfi.c +++ b/tests/addrcfi.c @@ -1,5 +1,5 @@ /* Test program for CFI handling. - Copyright (C) 2009 Red Hat, Inc. + Copyright (C) 2009-2010 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -100,7 +100,7 @@ handle_cfi (Dwfl *dwfl, const char *which, Dwarf_CFI *cfi, int result = dwarf_cfi_addrframe (cfi, pc - stuff->bias, &stuff->frame); if (result != 0) { - error (0, 0, "dwarf_addrframe (%s): %s", which, dwfl_errmsg (-1)); + error (0, 0, "dwarf_cfi_addrframe (%s): %s", which, dwarf_errmsg (-1)); return 1; } |