aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-07-02 16:10:22 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-07-02 16:11:05 -0400
commitb05b5649df341573c0a42de503ceb025c4129473 (patch)
tree41a1756d443aae17e3187187a941a294f27763f0 /src
parent04b32d6a8aa30cc894f3057581ffda28466e8ef2 (diff)
downloadzig-b05b5649df341573c0a42de503ceb025c4129473.tar.gz
zig-b05b5649df341573c0a42de503ceb025c4129473.zip
print dir name on failure to write to cache dir
closes #2429
Diffstat (limited to 'src')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 4b131cc2af..ce7cc4d4fc 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -9598,7 +9598,7 @@ void codegen_build_and_link(CodeGen *g) {
fprintf(stderr, "Unable to check cache: %s is not a directory\n",
buf_ptr(manifest_dir));
} else {
- fprintf(stderr, "Unable to check cache: %s\n", err_str(err));
+ fprintf(stderr, "Unable to check cache: %s: %s\n", buf_ptr(manifest_dir), err_str(err));
}
exit(1);
}