Skip to content
Snippets Groups Projects
Commit 68374db8 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

Wrong format string for error message.

parent b47ba97c
Branches
Tags
No related merge requests found
...@@ -76,8 +76,8 @@ static void set_stop(eb_user_data_t user, eb_device_t dev, eb_operation_t op, eb ...@@ -76,8 +76,8 @@ static void set_stop(eb_user_data_t user, eb_device_t dev, eb_operation_t op, eb
data |= eb_operation_data(op); data |= eb_operation_data(op);
if (eb_operation_had_error(op)) if (eb_operation_had_error(op))
fprintf(stderr, "%s: wishbone segfault reading %s bits from address 0x%"EB_ADDR_FMT"\n", fprintf(stderr, "%s: wishbone segfault reading %s %s bits from address 0x%"EB_ADDR_FMT"\n",
width_str[eb_operation_format(op) & EB_DATAX], program, width_str[eb_operation_format(op) & EB_DATAX],
endian_str[eb_operation_format(op) >> 4], eb_operation_address(op)); endian_str[eb_operation_format(op) >> 4], eb_operation_address(op));
} }
} }
......
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