mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibC: execl() forgot to add the null sentinel to argv.
This commit is contained in:
parent
f4bce03716
commit
2ac697ca09
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ int execl(const char* filename, const char* arg0, ...)
|
|||
args.append(arg);
|
||||
}
|
||||
va_end(ap);
|
||||
|
||||
args.append(nullptr);
|
||||
return execve(filename, (char* const *)args.data(), nullptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue