fprintf (stderr, "dup2 failed: %s\n", strerror (errno));
(void) close (commpipe[0]); /* Close unused side of pipe (in side) */
/* Replace the child fork with a new process */
- if (execl
+ if (execlp
("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan",
argv[1], NULL) == -1)
{
fprintf (stderr, "dup2 failed: %s\n", strerror (errno));
(void) close (commpipe[1]); /* Close unused side of pipe (out side) */
/* Replace the child fork with a new process */
- if (execl
+ if (execlp
("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan",
argv[1], NULL) == -1)
{