summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport-wlan-receiver.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-16 16:26:31 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-16 16:26:31 +0000
commit915af2719420470cf09ba7bcd70cec8eeb76c7d6 (patch)
tree6abf46895fd94ea397aee904f936c37b3900471b /src/transport/gnunet-transport-wlan-receiver.c
parent4e73ac8b8b53ffbe421dd56aa50955cee85b1cc2 (diff)
-use execlp
Diffstat (limited to 'src/transport/gnunet-transport-wlan-receiver.c')
-rw-r--r--src/transport/gnunet-transport-wlan-receiver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-transport-wlan-receiver.c b/src/transport/gnunet-transport-wlan-receiver.c
index 22ad2e20d..73ca83ddc 100644
--- a/src/transport/gnunet-transport-wlan-receiver.c
+++ b/src/transport/gnunet-transport-wlan-receiver.c
@@ -101,7 +101,7 @@ main (int argc, char *argv[])
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)
{