Commit a1aa8b7e authored by Magnus Hagander's avatar Magnus Hagander

Fix order of MemSet arguments

Noted by Tomas Vondra
parent 4b980167
...@@ -374,7 +374,7 @@ LogStreamerMain(logstreamer_param *param) ...@@ -374,7 +374,7 @@ LogStreamerMain(logstreamer_param *param)
{ {
StreamCtl stream; StreamCtl stream;
MemSet(&stream, sizeof(stream), 0); MemSet(&stream, 0, sizeof(stream));
stream.startpos = param->startptr; stream.startpos = param->startptr;
stream.timeline = param->timeline; stream.timeline = param->timeline;
stream.sysidentifier = param->sysidentifier; stream.sysidentifier = param->sysidentifier;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment