diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-22 17:41:15 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-09-22 17:41:15 -0400 |
| commit | a239c7439f4743960bd11be66ae05962eebfa279 (patch) | |
| tree | 5d96f76e19adf9766f58d27f5f11e215d62f9826 /src/os.cpp | |
| parent | 31b72da84a14cb3652b3b770ac64e367d021529b (diff) | |
| download | zig-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.cpp | 2 |
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; |
