summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-17 03:48:27 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-17 03:48:27 +0000
commit61d4df8920714b41ed6954ff801fc469f8af3f26 (patch)
treee7052b63c132569301718ca7f1d307365242355f /vm_trace.c
parent0f0311df0a31fce8ceab3ef9dffead0c67629dbe (diff)
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
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c8
1 files changed, 4 insertions, 4 deletions
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");