diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/eventcomm-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/eventcomm-test.c b/test/eventcomm-test.c index 144d6dc..dcc4c4d 100644 --- a/test/eventcomm-test.c +++ b/test/eventcomm-test.c @@ -137,6 +137,7 @@ test_read_hw_state(void) info.private = &private; info.fd = fd_read; + private.fd = fd_read; private.proto_data = EventProtoDataAlloc(); @@ -263,6 +264,7 @@ test_ignore_hw_state(void) memset(&private, 0, sizeof(private)); info.private = &private; info.fd = fd_read; + private.fd = fd_read; private.proto_data = EventProtoDataAlloc(); |