From af9efd4d93931143adec60c06e9cb9754c155424 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 8 Jun 2024 07:43:44 -0600 Subject: [PATCH] use consistent type for pid --- src/Command.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command.zig b/src/Command.zig index 7c7eb85f1..6b6752e05 100644 --- a/src/Command.zig +++ b/src/Command.zig @@ -138,7 +138,7 @@ fn startPosix(self: *Command, arena: Allocator) !void { else @compileError("missing env vars"); - const pid: linux.pid_t = switch (builtin.os.tag) { + const pid: posix.pid_t = switch (builtin.os.tag) { .linux => if (self.linux_cgroup) |cgroup| try internal_os.cgroup.cloneInto(cgroup) else try posix.fork(), else => try posix.fork(), };