aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/posix/posix_resolv_gai.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/posix/posix_resolv_gai.c b/src/platform/posix/posix_resolv_gai.c
index 1d7b7e5b..4bf9d2ec 100644
--- a/src/platform/posix/posix_resolv_gai.c
+++ b/src/platform/posix/posix_resolv_gai.c
@@ -22,7 +22,7 @@
// We use a single resolver taskq - but we allocate a few threads
// for it to ensure that names can be looked up concurrently. This isn't
-// as elegant or scaleable as a true asynchronous resolver would be, but
+// as elegant or scalable as a true asynchronous resolver would be, but
// it has the advantage of being fairly portable, and concurrent enough for
// the vast, vast majority of use cases. The total thread count can be
// changed with this define. Note that some platforms may not have a
@@ -296,10 +296,10 @@ nni_udp_resolv(
}
void
-resolv_worker(void *notused)
+resolv_worker(void *unused)
{
- NNI_ARG_UNUSED(notused);
+ NNI_ARG_UNUSED(unused);
nni_mtx_lock(&resolv_mtx);
for (;;) {