Skip to content

Commit 3b0fe53

Browse files
committed
fix regression on posix from previous commit
1 parent 8ab5313 commit 3b0fe53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

std/os/index.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ pub fn getEnvVarOwned(allocator: &mem.Allocator, key: []const u8) -> %[]u8 {
504504
}
505505
} else {
506506
const result = getEnvPosix(key) ?? return error.EnvironmentVariableNotFound;
507-
return mem.dupe(u8, allocator, result);
507+
return mem.dupe(allocator, u8, result);
508508
}
509509
}
510510

0 commit comments

Comments
 (0)