aboutsummaryrefslogtreecommitdiff
path: root/std/debug
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-08-20 17:57:49 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-08-20 17:57:49 -0400
commit302936309a30c9c0bcfe222ec1de470b36c18a06 (patch)
treea8ac719bc3675587884a5a6a569f3a44a9992a82 /std/debug
parent9e9dce76ffeae54d41ad6485a4fbaf9cd6610c1f (diff)
parentbb93886791f81830eae1951cc3d89a6992067b55 (diff)
downloadzig-302936309a30c9c0bcfe222ec1de470b36c18a06.tar.gz
zig-302936309a30c9c0bcfe222ec1de470b36c18a06.zip
Merge branch 'path_max' of https://github.com/shawnl/zig into shawnl-path_max
Diffstat (limited to 'std/debug')
-rw-r--r--std/debug/index.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/debug/index.zig b/std/debug/index.zig
index f06da85f54..748aa2b969 100644
--- a/std/debug/index.zig
+++ b/std/debug/index.zig
@@ -341,7 +341,7 @@ pub fn openSelfDebugInfo(allocator: *mem.Allocator) !*ElfStackTrace {
}
fn printLineFromFile(allocator: *mem.Allocator, out_stream: var, line_info: *const LineInfo) !void {
- var f = try os.File.openRead(allocator, line_info.file_name);
+ var f = try os.File.openRead(line_info.file_name);
defer f.close();
// TODO fstat and make sure that the file has the correct size