diff --git a/LibOS/shim/src/elf/shim_rtld.c b/LibOS/shim/src/elf/shim_rtld.c index 5e616e9a..24539a34 100644 --- a/LibOS/shim/src/elf/shim_rtld.c +++ b/LibOS/shim/src/elf/shim_rtld.c @@ -442,7 +442,7 @@ static struct link_map* __map_elf_object(struct shim_handle* file, const void* f } if (l->nloadcmds >= MAX_LOADCMDS) { - errstring = "too many load commamds"; + errstring = "too many load commands"; goto call_lose; } diff --git a/Pal/src/host/FreeBSD/db_exception.c b/Pal/src/host/FreeBSD/db_exception.c index 09f70541..a7c14f67 100644 --- a/Pal/src/host/FreeBSD/db_exception.c +++ b/Pal/src/host/FreeBSD/db_exception.c @@ -343,7 +343,7 @@ static void _DkGenericSighandler (int signum, siginfo_t * info, ucontext_t * uc) { #if 0 - /* reseurrect this code if signal handler if giving segmentation fault */ + /* resurrect this code if signal handler is giving segmentation fault */ if (signum == SIGSEGV) { int pid = INLINE_SYSCALL(getpid, 0); diff --git a/Pal/src/host/FreeBSD/db_exception2.c b/Pal/src/host/FreeBSD/db_exception2.c index 7b396fa9..add19954 100644 --- a/Pal/src/host/FreeBSD/db_exception2.c +++ b/Pal/src/host/FreeBSD/db_exception2.c @@ -265,7 +265,7 @@ static void _DkGenericSighandler (int signum, siginfo_t * info, struct ucontext * uc) { #if BLOCK_SIGFUALT == 1 - /* reseurrect this code if signal handler if giving segmentation fault */ + /* resurrect this code if signal handler is giving segmentation fault */ if (signum == SIGSEGV) { int pid = INLINE_SYSCALL(getpid, 0); exception_msg[17] = '0' + pid / 10000; diff --git a/Pal/src/host/Skeleton/db_events.c b/Pal/src/host/Skeleton/db_events.c index e67da757..bfec2114 100644 --- a/Pal/src/host/Skeleton/db_events.c +++ b/Pal/src/host/Skeleton/db_events.c @@ -33,7 +33,7 @@ int _DkEventCreate (PAL_HANDLE * event, bool initialState, bool isnotification) void _DkEventDestroy (PAL_HANDLE handle) { - /* need to be implemented */ + /* needs to be implemented */ } int _DkEventSet (PAL_HANDLE event, int wakeup) diff --git a/Pal/src/host/Skeleton/db_exception.c b/Pal/src/host/Skeleton/db_exception.c index bd371ce4..84df0689 100644 --- a/Pal/src/host/Skeleton/db_exception.c +++ b/Pal/src/host/Skeleton/db_exception.c @@ -41,9 +41,9 @@ int (*_DkExceptionHandlers[PAL_EVENT_NUM_BOUND])(int, PAL_UPCALL, int) = { }; void _DkRaiseFailure(int error) { - /* need to be implemented */ + /* needs to be implemented */ } void _DkExceptionReturn(void* event) { - /* need to be implemented */ + /* needs to be implemented */ } diff --git a/Pal/src/host/Skeleton/db_main.c b/Pal/src/host/Skeleton/db_main.c index 45448b1f..cfcabc8b 100644 --- a/Pal/src/host/Skeleton/db_main.c +++ b/Pal/src/host/Skeleton/db_main.c @@ -48,7 +48,7 @@ unsigned long _DkGetAllocationAlignment (void) void _DkGetAvailableUserAddressRange (PAL_PTR * start, PAL_PTR * end, PAL_PTR * hole_start, PAL_PTR * hole_end) { - /* need to be implemented */ + /* needs to be implemented */ } PAL_NUM _DkGetProcessId (void) @@ -63,6 +63,6 @@ PAL_NUM _DkGetHostId (void) int _DkGetCPUInfo (PAL_CPU_INFO * ci) { - /* need to be implemented */ + /* needs to be implemented */ return 0; } diff --git a/Pal/src/host/Skeleton/db_streams.c b/Pal/src/host/Skeleton/db_streams.c index bf8d64f4..8bdf124e 100644 --- a/Pal/src/host/Skeleton/db_streams.c +++ b/Pal/src/host/Skeleton/db_streams.c @@ -29,7 +29,7 @@ #include "pal_internal.h" void _DkPrintConsole(const void* buf, int size) { - /* need to be implemented */ + /* needs to be implemented */ } /* _DkStreamUnmap for internal use. Unmap stream at certain memory address. diff --git a/Pal/src/host/Skeleton/db_threading.c b/Pal/src/host/Skeleton/db_threading.c index 0a533113..30be6f00 100644 --- a/Pal/src/host/Skeleton/db_threading.c +++ b/Pal/src/host/Skeleton/db_threading.c @@ -41,12 +41,12 @@ int _DkThreadDelayExecution(unsigned long* duration) { /* PAL call DkThreadYieldExecution. Yield the execution of the current thread. */ void _DkThreadYieldExecution(void) { - /* need to be implemented */ + /* needs to be implemented */ } /* _DkThreadExit for internal use: Thread exiting */ noreturn void _DkThreadExit(void) { - /* need to be implemented */ + /* needs to be implemented */ while (true) { /* nothing */ }