summaryrefslogtreecommitdiffstats
path: root/src/kernel/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/net.h')
-rw-r--r--src/kernel/net.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/kernel/net.h b/src/kernel/net.h
index e7accd0..d46505b 100644
--- a/src/kernel/net.h
+++ b/src/kernel/net.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* This file is part of the Distributed Network Block Device 3
*
@@ -23,12 +24,13 @@
#include "dnbd3_main.h"
-#define init_msghdr(h) do { \
- h.msg_name = NULL; \
- h.msg_namelen = 0; \
- h.msg_control = NULL; \
- h.msg_controllen = 0; \
- h.msg_flags = MSG_WAITALL | MSG_NOSIGNAL; \
+#define init_msghdr(h) \
+ do { \
+ h.msg_name = NULL; \
+ h.msg_namelen = 0; \
+ h.msg_control = NULL; \
+ h.msg_controllen = 0; \
+ h.msg_flags = MSG_WAITALL | MSG_NOSIGNAL; \
} while (0)
int dnbd3_net_connect(dnbd3_device_t *lo);