]> granicus.if.org Git - strace/commitdiff
Fix build on systems without linux/genetlink.h
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 7 Jan 2018 23:23:01 +0000 (23:23 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 7 Jan 2018 23:23:01 +0000 (23:23 +0000)
* socketutils.c [!HAVE_LINUX_GENETLINK_H] (genl_families_xlat): Add
tcp argument.

Fixes: v4.20-134-gc46fefc ("Add tcp arguments to netlink calls")
socketutils.c

index 058cff33526f18a91d1be632f07042750c412e53..c0c99e90b4d6e2914faf04928d892030cbf2aa32 100644 (file)
@@ -646,7 +646,7 @@ out:
 #else /* !HAVE_LINUX_GENETLINK_H */
 
 const struct xlat *
-genl_families_xlat(void)
+genl_families_xlat(struct tcb *tcp)
 {
        return NULL;
 }