summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/wg_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c
index 2a7e78b1..5d4d59a0 100644
--- a/sysdep/unix/wg_user.c
+++ b/sysdep/unix/wg_user.c
@@ -22,7 +22,7 @@ socklen_t get_socket_path(const char *ifname, char *buf, uint size)
#ifdef ANDROID
/* Abstract socket */
buf[pos++] = 0;
-#end
+#endif
bsnprintf(buf+pos, size-pos, SOCKET_PATH "%s.sock", ifname);
return pos + strlen(buf+pos);
}