| ... | @@ -1049,7 +1049,7 @@ const MachoSymbol = struct { | ... | @@ -1049,7 +1049,7 @@ const MachoSymbol = struct { |
| 1049 | | 1049 | |
| 1050 | fn mapWholeFile(path: []const u8) ![]align(mem.page_size) const u8 { | 1050 | fn mapWholeFile(path: []const u8) ![]align(mem.page_size) const u8 { |
| 1051 | noasync { | 1051 | noasync { |
| 1052 | const file = try fs.openFileAbsolute(path, .{ .always_blocking = true }); | 1052 | const file = try fs.cwd().openFile(path, .{ .always_blocking = true }); |
| 1053 | defer file.close(); | 1053 | defer file.close(); |
| 1054 | | 1054 | |
| 1055 | const file_len = try math.cast(usize, try file.getEndPos()); | 1055 | const file_len = try math.cast(usize, try file.getEndPos()); |