=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/job.c,v retrieving revision 1.137 retrieving revision 1.138 diff -u -r1.137 -r1.138 --- src/usr.bin/make/job.c 2017/01/21 11:30:11 1.137 +++ src/usr.bin/make/job.c 2017/01/21 12:31:34 1.138 @@ -1,4 +1,4 @@ -/* $OpenBSD: job.c,v 1.137 2017/01/21 11:30:11 deraadt Exp $ */ +/* $OpenBSD: job.c,v 1.138 2017/01/21 12:31:34 natano Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* @@ -179,11 +179,9 @@ if (kill(pid, signo) == 0) return "process got signal"; } - if (errno == ESRCH) { + if (errno == ESRCH) job->flags |= JOB_LOST; - return "not found"; - } else - return "should not happen"; + return strerror(errno); } static void