aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/module.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src-self-hosted/module.zig')
-rw-r--r--src-self-hosted/module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-self-hosted/module.zig b/src-self-hosted/module.zig
index 245c395ece..bdb268cf2f 100644
--- a/src-self-hosted/module.zig
+++ b/src-self-hosted/module.zig
@@ -213,7 +213,7 @@ pub const Module = struct {
};
errdefer self.allocator.free(root_src_real_path);
- const source_code = io.readFileAllocExtra(root_src_real_path, self.allocator, 3) catch |err| {
+ const source_code = io.readFileAllocExtra(self.allocator, root_src_real_path, 3) catch |err| {
try printError("unable to open '{}': {}", root_src_real_path, err);
return err;
};