From 2eb09092065715642e93d9cfd54196840a314bc0 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 2 Oct 2022 12:01:23 +0200 Subject: [PATCH] std.ChildProcess: correct fn getUserInfo pkg in setUserName 17b0166e moved getUserInfo from std.os to std.process but ChildProcess.setUserName never updated the pkg name. --- lib/std/child_process.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig index f1604bb86c..322c74b11b 100644 --- a/lib/std/child_process.zig +++ b/lib/std/child_process.zig @@ -122,7 +122,7 @@ pub const ChildProcess = struct { } pub fn setUserName(self: *ChildProcess, name: []const u8) !void { - const user_info = try os.getUserInfo(name); + const user_info = try std.process.getUserInfo(name); self.uid = user_info.uid; self.gid = user_info.gid; }