From df6a5edaac8fe337031402a1539f1758b7cb4993 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Mon, 1 Feb 2016 09:09:24 +0100 Subject: [PATCH] main: show if error code --- kernel/sy_old/mars_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/sy_old/mars_main.c b/kernel/sy_old/mars_main.c index c2c1f1e4..ae089e2f 100644 --- a/kernel/sy_old/mars_main.c +++ b/kernel/sy_old/mars_main.c @@ -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);