aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/znk.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/znk.zig b/tool/znk.zig
index ff5540e..269e176 100644
--- a/tool/znk.zig
+++ b/tool/znk.zig
@@ -446,7 +446,7 @@ fn PrefixKeyGenerator(comptime EntropyReaderType: type) type {
446 var cpu_count = try std.Thread.getCpuCount(); 446 var cpu_count = try std.Thread.getCpuCount();
447 var threads = try self.allocator.alloc(std.Thread, cpu_count); 447 var threads = try self.allocator.alloc(std.Thread, cpu_count);
448 defer self.allocator.free(threads); 448 defer self.allocator.free(threads);
449 for (threads) |*thread| thread.* = try std.Thread.spawn(.{}, Self.generatePrivate, .{ self }); 449 for (threads) |*thread| thread.* = try std.Thread.spawn(.{}, Self.generatePrivate, .{self});
450 for (threads) |thread| thread.join(); 450 for (threads) |thread| thread.join();
451 } 451 }
452 }; 452 };