summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-05-11 08:14:49 +0000
committerChristian Grothoff <christian@grothoff.org>2011-05-11 08:14:49 +0000
commitbb07309af299e2c5062883dec0c89cfe670dee0d (patch)
tree8c0e744df8cf9af29c2c827997e7f51c03e8907c /src
parent104f6507ea4c61d940fc895b4cd960a98afd82b7 (diff)
note
Diffstat (limited to 'src')
-rw-r--r--src/transport/Makefile.am4
-rw-r--r--src/transport/wlan/loopback_helper.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 5012a389c..8aecf39d1 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -49,8 +49,8 @@ UNIX_QUOTA_TEST = test_quota_compliance_unix \
test_quota_compliance_unix_asymmetric_recv_constant
NATBIN = gnunet-nat-server gnunet-nat-client
install-exec-hook:
- chown root $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-wlan || true
- chmod u+s $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-wlan || true
+ chown root $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-transport-wlan-helper || true
+ chmod u+s $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-transport-wlan-helper || true
else
install-exec-hook:
endif
diff --git a/src/transport/wlan/loopback_helper.c b/src/transport/wlan/loopback_helper.c
index 54bd9e955..328baaa02 100644
--- a/src/transport/wlan/loopback_helper.c
+++ b/src/transport/wlan/loopback_helper.c
@@ -136,7 +136,8 @@ testmode(int argc, char *argv[])
umask(0);
//unlink(FIFO_FILE1);
//unlink(FIFO_FILE2);
- erg = mknod(FIFO_FILE1, S_IFIFO | 0666, 0);
+ // FIXME: use mkfifo!
+ erg = mknod(FIFO_FILE1, S_IFIFO | 0666, 0);
if (0 != erg)
{
fprintf(stderr, "Error at mknode1 \n");