aboutsummaryrefslogtreecommitdiff
path: root/src/os.cpp
diff options
context:
space:
mode:
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;