Fix a typo for Rodrigo
authorGeoff Norton <grompf@sublimeintervention.com>
Thu, 28 Apr 2011 22:07:17 +0000 (18:07 -0400)
committerGeoff Norton <grompf@sublimeintervention.com>
Thu, 28 Apr 2011 22:07:17 +0000 (18:07 -0400)
mono/utils/mach-support-amd64.c

index 4fe13c94b8887523fe18f16d79660232070f1431..a2abd0bbf8fd70478133f75d79f876f4f4d0e114 100644 (file)
@@ -42,7 +42,7 @@ void
 mono_mach_arch_thread_state_to_mcontext (thread_state_t state, mcontext_t context)
 {
        x86_thread_state64_t *arch_state = (x86_thread_state64_t *) state;
-       struct __darwin_mcontext64 *ctx = (struct __darwin_mcontex64 *) context;
+       struct __darwin_mcontext64 *ctx = (struct __darwin_mcontext64 *) context;
 
        ctx->__ss = *arch_state;
 }
@@ -51,7 +51,7 @@ void
 mono_mach_arch_mcontext_to_thread_state (mcontext_t context, thread_state_t state)
 {
        x86_thread_state64_t *arch_state = (x86_thread_state64_t *) state;
-       struct __darwin_mcontex64 *ctx = (struct __darwin_mcontex64 *) context;
+       struct __darwin_mcontext64 *ctx = (struct __darwin_mcontext64 *) context;
 
        *arch_state = ctx->__ss;
 }