aboutsummaryrefslogtreecommitdiff
path: root/src/os.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-09-22 17:41:15 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-09-22 17:41:15 -0400
commita239c7439f4743960bd11be66ae05962eebfa279 (patch)
tree5d96f76e19adf9766f58d27f5f11e215d62f9826 /src/os.cpp
parent31b72da84a14cb3652b3b770ac64e367d021529b (diff)
downloadzig-a239c7439f4743960bd11be66ae05962eebfa279.tar.gz
zig-a239c7439f4743960bd11be66ae05962eebfa279.zip
more helpful error message when failing to parse glibc abi.txt
Diffstat (limited to 'src/os.cpp')
-rw-r--r--src/os.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os.cpp b/src/os.cpp
index 3a6ed2c286..6dc3777f8c 100644
--- a/src/os.cpp
+++ b/src/os.cpp
@@ -116,7 +116,7 @@ static void os_spawn_process_posix(ZigList<const char *> &args, Termination *ter
pid_t pid;
int rc = posix_spawnp(&pid, args.at(0), nullptr, nullptr, const_cast<char *const*>(argv), environ);
if (rc != 0) {
- zig_panic("posix_spawn failed: %s", strerror(rc));
+ zig_panic("unable to spawn %s: %s", args.at(0), strerror(rc));
}
int status;