comparison src/os_cpu/solaris_x86/vm/os_solaris_x86.cpp @ 605:98cb887364d3

6810672: Comment typos Summary: I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
author twisti
date Fri, 27 Feb 2009 13:27:09 -0800
parents 22e09c0f4b47
children 7bb995fbd3c0
comparison
equal deleted inserted replaced
604:ec59443af135 605:98cb887364d3
692 struct sigaction oldAct; 692 struct sigaction oldAct;
693 sigaction(sig, (struct sigaction *)0, &oldAct); 693 sigaction(sig, (struct sigaction *)0, &oldAct);
694 if (oldAct.sa_sigaction != signalHandler) { 694 if (oldAct.sa_sigaction != signalHandler) {
695 void* sighand = oldAct.sa_sigaction ? CAST_FROM_FN_PTR(void*, oldAct.sa_sigaction) 695 void* sighand = oldAct.sa_sigaction ? CAST_FROM_FN_PTR(void*, oldAct.sa_sigaction)
696 : CAST_FROM_FN_PTR(void*, oldAct.sa_handler); 696 : CAST_FROM_FN_PTR(void*, oldAct.sa_handler);
697 warning("Unexpected Signal %d occured under user-defined signal handler %#lx", sig, (long)sighand); 697 warning("Unexpected Signal %d occurred under user-defined signal handler %#lx", sig, (long)sighand);
698 } 698 }
699 } 699 }
700 700
701 if (pc == NULL && uc != NULL) { 701 if (pc == NULL && uc != NULL) {
702 pc = (address) uc->uc_mcontext.gregs[REG_PC]; 702 pc = (address) uc->uc_mcontext.gregs[REG_PC];