commit e23e486a79a306b26ed226a7ec4c348de9034fe7
parent 86d4d2d74051defbe0d27d33ad7bda3ff39408a4
Author: Quentin Rameau <quinq@fifth.space>
Date: Thu, 16 Jun 2016 18:45:15 +0200
[driver] fix failed tool value in terminate (bis)
This fixes previous commit 2bccc4d
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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];