mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:27:45 +00:00
LibC: Improve error logging for execvp()
This commit is contained in:
parent
ca06dfd1a0
commit
a5be8d8976
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue