summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 52969b4)
raw | patch | inline | side by side (parent: 52969b4)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 2 Aug 2016 10:04:09 +0000 (12:04 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 2 Aug 2016 10:04:09 +0000 (12:04 +0200) |
The kernel bcopies properly sized data into this struct
src/pf.c | patch | blob | history |
diff --git a/src/pf.c b/src/pf.c
index 42679febc9d73b895b780c501c1acb8f3b97d3c8..c9aeb5ff22f3be3b48c295e16f242f530a112858 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
static int pf_read (void)
{
- struct pf_status state = { 0 };
+ struct pf_status state;
int fd;
int status;
int i;