1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

OS/2: Ensure correct type of NULL pointer for variadic spawnlp.

This commit is contained in:
Kalle Olavi Niemitalo 2007-03-10 23:12:31 +02:00 committed by Kalle Olavi Niemitalo
parent 76ced47dfe
commit 1e8a61e09b

View File

@ -168,7 +168,7 @@ exe(unsigned char *path)
if (is_xterm()) flags |= P_BACKGROUND;
pid = spawnlp(flags, shell, shell, "/c", path, NULL);
pid = spawnlp(flags, shell, shell, "/c", path, (char *) NULL);
if (pid != -1)
waitpid(pid, &ret, 0);