1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

LibC: Improve error logging for execvp()

This commit is contained in:
Gunnar Beutner 2021-04-19 17:28:17 +02:00 committed by Andreas Kling
parent ca06dfd1a0
commit a5be8d8976

View file

@ -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;
}