Commit e9438089 authored by Federico Vaga's avatar Federico Vaga

wrtd: fix minor bug introduced in 7f974a1b

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 42ba921c
......@@ -37,7 +37,7 @@ static int print_message(struct wrnc_hmq *hmq)
fprintf(stdout, "Channel %d\n", log.channel);
fprintf(stdout, "Miss reason %x\n", log.miss_reason);
fprintf(stdout, "Seq %d\n", log.seq);
if (log.type != WRTD_LOG_RAW)
if (log.type == WRTD_LOG_RAW)
fprintf(stdout, "Identifier ----:----:----\n");
else
fprintf(stdout, "Identifier %04x:%04x:%04x\n",
......
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