mirror of
https://github.com/schoebel/mars
synced 2024-12-26 00:22:31 +00:00
main: show if error code
This commit is contained in:
parent
1c6a89f70b
commit
df6a5edaac
@ -4788,6 +4788,8 @@ void _show_dev(struct mars_rotate *rot)
|
||||
_show_rate(rot, &if_brick->io_limiter, "if_rate");
|
||||
__show_actual(rot->parent_path, "if-flying",
|
||||
atomic_read(&if_brick->flying_count));
|
||||
__show_actual(rot->parent_path, "if-state",
|
||||
if_brick->error_code);
|
||||
open_count = atomic_read(&if_brick->open_count);
|
||||
}
|
||||
__show_actual(rot->parent_path, "open-count", open_count);
|
||||
|
Loading…
Reference in New Issue
Block a user