From: Alan Cox Date: Mon, 18 May 2015 22:18:03 +0000 (+0100) Subject: sgrpsig: correct sign X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9eb072b01ecdd10899389a2f8dfaff713f71f761;p=FUZIX.git sgrpsig: correct sign This was inherited from code that used negatives to indicate process groups but is called by methods that pass the pgrp. --- diff --git a/Kernel/process.c b/Kernel/process.c index c7b866fd..3600afed 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -425,7 +425,7 @@ void sgrpsig(uint16_t pgrp, uint16_t sig) { ptptr p; for (p = ptab; p < ptab_end; ++p) { - if (-p->p_pgrp == pgrp) + if (p->p_pgrp == pgrp) ssig(p, sig); } }