Commit fca9e9ce authored by Sebastian Hack's avatar Sebastian Hack
Browse files

Fixed a bug

parent ab8af87b
......@@ -227,12 +227,12 @@ extern char *arch_register_req_format(char *buf, size_t len, const arch_register
}
if(arch_register_req_is(req, should_be_same)) {
snprintf(tmp, sizeof(tmp), " same to: %+F", req->other_different);
ir_snprintf(tmp, sizeof(tmp), " same to: %+F", req->other_different);
strncat(buf, tmp, len);
}
if(arch_register_req_is(req, should_be_different)) {
snprintf(tmp, sizeof(tmp), " different to: %+F", req->other_different);
ir_snprintf(tmp, sizeof(tmp), " different to: %+F", req->other_different);
strncat(buf, tmp, len);
}
......
Supports Markdown
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