ioVec.iov_base = ®s;
ioVec.iov_len = sizeof regs;
PTRACE(PTRACE_GETREGSET, m_tid, ®set, &ioVec, sizeof regs, m_error);
- if (m_error.Sucess())
+ if (m_error.Success())
{
::memcpy((void *)(((unsigned char *)(®s)) + offset), m_value.GetBytes(), 16);
PTRACE(PTRACE_SETREGSET, m_tid, ®set, &ioVec, sizeof regs, m_error);
ioVec.iov_base = ®s;
ioVec.iov_len = sizeof regs;
PTRACE(PTRACE_GETREGSET, m_tid, ®set, &ioVec, sizeof regs, m_error);
- if (m_error.Sucess())
+ if (m_error.Success())
{
::memcpy((void *)(((unsigned char *)(®s)) + m_offset), m_value.GetBytes(), 8);
PTRACE(PTRACE_SETREGSET, m_tid, ®set, &ioVec, sizeof regs, m_error);