From 61d4df8920714b41ed6954ff801fc469f8af3f26 Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 17 May 2018 03:48:27 +0000 Subject: vm_trace.c: spelling fix: PJRR_SUCESS => PJRR_SUCCESS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_trace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vm_trace.c') diff --git a/vm_trace.c b/vm_trace.c index 3b4f2231dc..3e4c9797d4 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -1535,7 +1535,7 @@ Init_postponed_job(void) } enum postponed_job_register_result { - PJRR_SUCESS = 0, + PJRR_SUCCESS = 0, PJRR_FULL = 1, PJRR_INTERRUPTED = 2 }; @@ -1561,7 +1561,7 @@ postponed_job_register(rb_execution_context_t *ec, rb_vm_t *vm, RUBY_VM_SET_POSTPONED_JOB_INTERRUPT(ec); - return PJRR_SUCESS; + return PJRR_SUCCESS; } @@ -1574,7 +1574,7 @@ rb_postponed_job_register(unsigned int flags, rb_postponed_job_func_t func, void begin: switch (postponed_job_register(ec, vm, flags, func, data, MAX_POSTPONED_JOB, vm->postponed_job_index)) { - case PJRR_SUCESS : return 1; + case PJRR_SUCCESS : return 1; case PJRR_FULL : return 0; case PJRR_INTERRUPTED: goto begin; default: rb_bug("unreachable\n"); @@ -1600,7 +1600,7 @@ rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func, } } switch (postponed_job_register(ec, vm, flags, func, data, MAX_POSTPONED_JOB + MAX_POSTPONED_JOB_SPECIAL_ADDITION, index)) { - case PJRR_SUCESS : return 1; + case PJRR_SUCCESS : return 1; case PJRR_FULL : return 0; case PJRR_INTERRUPTED: goto begin; default: rb_bug("unreachable\n"); -- cgit v1.2.3