1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-30 21:21:45 +02:00

Fix typo which caused register names to be off by 7.

(Logical change 1.17)
This commit is contained in:
mostang.com!davidm 2002-04-19 05:35:46 +00:00
parent 21c000c080
commit c528adf7c7

View file

@ -80,7 +80,7 @@ const char *
unw_regname (unw_regnum_t reg)
{
if (reg < sizeof (regname) / sizeof (regname[0]))
return regname[reg + 7];
return regname[reg];
else
return "???";
}