diff --git a/thpool.h b/thpool.h index 1caee8e..af3e68d 100644 --- a/thpool.h +++ b/thpool.h @@ -62,7 +62,7 @@ threadpool thpool_init(int num_threads); * @param threadpool threadpool to which the work will be added * @param function_p pointer to function to add as work * @param arg_p pointer to an argument - * @return 0 on successs, -1 otherwise. + * @return 0 on success, -1 otherwise. */ int thpool_add_work(threadpool, void (*function_p)(void*), void* arg_p);