Commit a91b9e35 authored by Federico Vaga's avatar Federico Vaga

tools:tstamp: init pollfd array

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 5a8e8f55
......@@ -328,6 +328,7 @@ int main(int argc, char **argv)
/* Open Channels from command line */
memset(channels, 0, sizeof(channels));
memset(p, 0, sizeof(p));
if (!chan_count)
chan_count = FMCTDC_NUM_CHANNELS;
for (i = 0; i < chan_count; i++) {
......
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