From a5be8d8976a13d7c2539a52b7d4916b6e5e5c175 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 19 Apr 2021 17:28:17 +0200 Subject: LibC: Improve error logging for execvp() --- Userland/Libraries/LibC/unistd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibC') 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; } -- cgit v1.2.3