diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-08-31 18:24:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-01 17:54:07 -0700 |
| commit | f8dd4b13d6fe428265229fc1e31c2f8b0cd373b1 (patch) | |
| tree | ee97556c506b09e566b8d0db2329e9556fb5a768 /lib/std/Thread.zig | |
| parent | 057f0fec33c4e54e87383d1181e946d3cddbc4c0 (diff) | |
| download | zig-f8dd4b13d6fe428265229fc1e31c2f8b0cd373b1.tar.gz zig-f8dd4b13d6fe428265229fc1e31c2f8b0cd373b1.zip | |
std.os reorg: more fixes caught by CI
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index 155e057a3f..ac38e5b4c6 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -558,7 +558,7 @@ const PosixThreadImpl = struct { .openbsd => { var count: c_int = undefined; var count_size: usize = @sizeOf(c_int); - const mib = [_]c_int{ os.CTL_HW, os.HW_NCPUONLINE }; + const mib = [_]c_int{ os.CTL.HW, os.HW_NCPUONLINE }; os.sysctl(&mib, &count, &count_size, null, 0) catch |err| switch (err) { error.NameTooLong, error.UnknownName => unreachable, else => |e| return e, |
