summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-helper-transport-wlan.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2020-11-13 23:46:16 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2020-11-13 23:46:16 +0900
commite19e93df13a84b26db9f129f509ecb74a1b93145 (patch)
tree264e99934d1661e1d83508c3434c5d00e33a6ee1 /src/transport/gnunet-helper-transport-wlan.c
parentc185348b6784a80bb8b394e34e3bf447d8dd1f57 (diff)
-warnings mostly format
Diffstat (limited to 'src/transport/gnunet-helper-transport-wlan.c')
-rw-r--r--src/transport/gnunet-helper-transport-wlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c
index 83ade115b..f1b190993 100644
--- a/src/transport/gnunet-helper-transport-wlan.c
+++ b/src/transport/gnunet-helper-transport-wlan.c
@@ -2004,7 +2004,7 @@ main (int argc, char *argv[])
(void) close (dev.fd_raw);
return 1;
}
- strncpy (dev.iface, argv[1], IFNAMSIZ);
+ memcpy (dev.iface, argv[1], IFNAMSIZ);
if (0 != open_device_raw (&dev))
{
(void) close (dev.fd_raw);