summaryrefslogtreecommitdiffstats
path: root/arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm.c')
-rw-r--r--arm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm.c b/arm.c
index 9f994cc..7cfdd3f 100644
--- a/arm.c
+++ b/arm.c
@@ -165,7 +165,8 @@ int show_state (int fd)
printf ("%6d | %-15s | %-15s | %-15s\n", i + 1, armed_to_str (armed[i]), state_to_str (state[i]), ready_to_str (ready[i]));
printf ("\n");
- return 0;
+
+ return armed[0] - '0';
}