diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-16 16:26:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-16 16:26:31 +0000 |
commit | 915af2719420470cf09ba7bcd70cec8eeb76c7d6 (patch) | |
tree | 6abf46895fd94ea397aee904f936c37b3900471b /src/transport/gnunet-transport-wlan-sender.c | |
parent | 4e73ac8b8b53ffbe421dd56aa50955cee85b1cc2 (diff) | |
download | gnunet-915af2719420470cf09ba7bcd70cec8eeb76c7d6.tar.gz gnunet-915af2719420470cf09ba7bcd70cec8eeb76c7d6.zip |
-use execlp
Diffstat (limited to 'src/transport/gnunet-transport-wlan-sender.c')
-rw-r--r-- | src/transport/gnunet-transport-wlan-sender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-transport-wlan-sender.c b/src/transport/gnunet-transport-wlan-sender.c index c5718b858..23561fada 100644 --- a/src/transport/gnunet-transport-wlan-sender.c +++ b/src/transport/gnunet-transport-wlan-sender.c | |||
@@ -204,7 +204,7 @@ main (int argc, char *argv[]) | |||
204 | fprintf (stderr, "dup2 failed: %s\n", strerror (errno)); | 204 | fprintf (stderr, "dup2 failed: %s\n", strerror (errno)); |
205 | (void) close (commpipe[1]); /* Close unused side of pipe (out side) */ | 205 | (void) close (commpipe[1]); /* Close unused side of pipe (out side) */ |
206 | /* Replace the child fork with a new process */ | 206 | /* Replace the child fork with a new process */ |
207 | if (execl | 207 | if (execlp |
208 | ("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan", | 208 | ("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan", |
209 | argv[1], NULL) == -1) | 209 | argv[1], NULL) == -1) |
210 | { | 210 | { |