[hackers] [scc] [driver] fix failed tool value in terminate (bis) || Quentin Rameau

From: <git_AT_suckless.org>
Date: Fri, 17 Jun 2016 21:45:13 +0200 (CEST)

commit e23e486a79a306b26ed226a7ec4c348de9034fe7
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Thu Jun 16 18:45:15 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
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
_AT_@ -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];
Received on Fri Jun 17 2016 - 21:45:13 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 17 2016 - 21:48:28 CEST