mirror of
https://github.com/cc65/cc65.git
synced 2024-09-27 19:55:09 +00:00
Adjusted spawn files to recent change II.
This commit is contained in:
parent
574bda3e4e
commit
b68507d8a5
@ -81,7 +81,7 @@ int spawnvp (int Mode attribute ((unused)), const char* File, const char* const
|
|||||||
} else if (pid == 0) {
|
} else if (pid == 0) {
|
||||||
|
|
||||||
/* The son - exec the program */
|
/* The son - exec the program */
|
||||||
if (execvp (File, argv) < 0) {
|
if (execvp (File, (char* const *) argv) < 0) {
|
||||||
Error ("Cannot exec `%s': %s", File, strerror (errno));
|
Error ("Cannot exec `%s': %s", File, strerror (errno));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user