summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 7259432..2bddd9f 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -958,7 +958,7 @@ makesockaddr(int sockfd, struct sockaddr *addr, int addrlen, int proto)
case AF_NETLINK:
{
struct sockaddr_nl *a = (struct sockaddr_nl *) addr;
- return Py_BuildValue("ii", a->nl_pid, a->nl_groups);
+ return Py_BuildValue("II", a->nl_pid, a->nl_groups);
}
#endif /* AF_NETLINK */