shithub: scc

Download patch

ref: eb410310afdfaf76a6b5f957ba53c0e5a3741224
parent: ac2335bcf6ddc65ff3ed64e87b0f3d02a7fad6db
author: Quentin Rameau <quinq@fifth.space>
date: Thu Jun 16 14:45:15 EDT 2016

[driver] fix failed tool value in terminate (bis)

This fixes previous commit 2bccc4d

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -60,7 +60,7 @@
 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];