main: show if error code

This commit is contained in:
Thomas Schoebel-Theuer 2016-02-01 09:09:24 +01:00 committed by Thomas Schoebel-Theuer
parent 1c6a89f70b
commit df6a5edaac

View File

@ -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);