From b05b5649df341573c0a42de503ceb025c4129473 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 2 Jul 2019 16:10:22 -0400 Subject: print dir name on failure to write to cache dir closes #2429 --- src/codegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen.cpp') 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); } -- cgit v1.2.3