Thomas Renninger
0a20c05309
update to 2.0.15 OBS-URL: https://build.opensuse.org/request/show/109840 OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=47
12 lines
328 B
Diff
12 lines
328 B
Diff
--- libnetlink.c.orig 2012-03-16 09:03:33.422941268 -0400
|
|
+++ libnetlink.c 2012-03-16 09:03:52.113707601 -0400
|
|
@@ -41,7 +41,7 @@
|
|
int sndbuf = 32768;
|
|
int rcvbuf = 32768;
|
|
|
|
- memset(rth, 0, sizeof(rth));
|
|
+ memset(rth, 0, sizeof(*rth));
|
|
|
|
rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol);
|
|
if (rth->fd < 0) {
|