aboutsummaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sock.c')
-rw-r--r--sock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sock.c b/sock.c
index a477bcea3..f17045e0b 100644
--- a/sock.c
+++ b/sock.c
@@ -57,6 +57,8 @@ print_ifname(const char *ifname)
print_quoted_string(ifname, IFNAMSIZ + 1, QUOTE_0_TERMINATED);
}
+DIAG_PUSH_IGNORE_OVERRIDE_INIT
+
static void
print_ifreq(struct tcb *const tcp, const unsigned int code,
const kernel_ulong_t arg, const struct_ifreq *const ifr)
@@ -202,6 +204,8 @@ print_ifreq(struct tcb *const tcp, const unsigned int code,
}
}
+DIAG_POP_IGNORE_OVERRIDE_INIT
+
static unsigned int
print_ifc_len(int len)
{