Commit d938a496 authored by Federico Vaga's avatar Federico Vaga

wrtd:tools: make read/write format coherent

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 7c619be4
......@@ -196,7 +196,7 @@ int parse_mode (char *mode_str, enum wrtd_trigger_mode *mode)
int parse_trigger_id(const char *str, struct wrtd_trig_id *id)
{
return (sscanf(str,"%i:%i:%i", &id->system, &id->source_port, &id->trigger) == 3 ? 0 : -1);
return (sscanf(str,"%x:%x:%x", &id->system, &id->source_port, &id->trigger) == 3 ? 0 : -1);
}
int parse_log_level (char *list[], int count, int *log_level)
......
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