summaryrefslogtreecommitdiffstats
path: root/server/tests/basic_event_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/basic_event_loop.c')
-rw-r--r--server/tests/basic_event_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c
index c0ee705c..70eb0269 100644
--- a/server/tests/basic_event_loop.c
+++ b/server/tests/basic_event_loop.c
@@ -267,7 +267,7 @@ SpiceCoreInterface *basic_event_loop_init(void)
{
ring_init(&watches);
ring_init(&timers);
- bzero(&core, sizeof(core));
+ memset(&core, 0, sizeof(core));
core.base.major_version = SPICE_INTERFACE_CORE_MAJOR;
core.base.minor_version = SPICE_INTERFACE_CORE_MINOR; // anything less then 3 and channel_event isn't called
core.timer_add = timer_add;