diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-19 17:28:17 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-19 18:27:09 +0200 |
commit | a5be8d8976a13d7c2539a52b7d4916b6e5e5c175 (patch) | |
tree | 0f2b7ca774734cccd949338fb9f0a712c75d2b72 /Userland/Libraries/LibC | |
parent | ca06dfd1a0d45667b1fea38a39257e0ba9eb0f3a (diff) | |
download | serenity-a5be8d8976a13d7c2539a52b7d4916b6e5e5c175.zip |
LibC: Improve error logging for execvp()
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/unistd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/unistd.cpp b/Userland/Libraries/LibC/unistd.cpp index 5d0fe6db68..727dcfc7aa 100644 --- a/Userland/Libraries/LibC/unistd.cpp +++ b/Userland/Libraries/LibC/unistd.cpp @@ -157,7 +157,7 @@ int execvp(const char* filename, char* const argv[]) { int rc = execvpe(filename, argv, environ); int saved_errno = errno; - dbgln("execvp() about to return {} with errno={}", rc, saved_errno); + dbgln("execvp({}, ...) about to return {} with errno={}", filename, rc, saved_errno); errno = saved_errno; return rc; } |