commit e23e486a79a306b26ed226a7ec4c348de9034fe7
Author: Quentin Rameau <[email protected]>
AuthorDate: Thu Jun 16 18:45:15 2016 +0200
Commit: Quentin Rameau <[email protected]>
CommitDate: Fri Jun 17 15:45:08 2016 +0200
[driver] fix failed tool value in terminate (bis)
This fixes previous commit 2bccc4d
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 8f4c78e..70d5dd0 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -60,7 +60,7 @@ static void
terminate(void)
{
struct tool *t;
- int i, tool, failed = -1;
+ int i, tool, failed = LAST_TOOL;
for (tool = 0; tool < LAST_TOOL; ++tool) {
t = &tools[tool];