From dfa78ad3c671da87fbd2a42159e82bcc498142a1 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 28 May 2022 12:23:28 -0500 Subject: [PATCH] typo --- src/core/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/os.c b/src/core/os.c index a443826c..6d35e3ac 100644 --- a/src/core/os.c +++ b/src/core/os.c @@ -232,7 +232,7 @@ JANET_CORE_FN(os_cpu_count, const int name[2] = {CTL_HW, HW_NCPUONLINE}; int result = 0; size_t len = sizeof(int); - if (-1 == sysctl(name, 2, &result, &len, ,NULL, 0)) { + if (-1 == sysctl(name, 2, &result, &len, NULL, 0)) { return dflt; } return janet_wrap_integer(result);