=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/compat.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/make/compat.c 1999/12/16 17:27:18 1.16 --- src/usr.bin/make/compat.c 1999/12/16 17:31:51 1.17 *************** *** 1,4 **** ! /* $OpenBSD: compat.c,v 1.16 1999/12/16 17:27:18 espie Exp $ */ /* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: compat.c,v 1.17 1999/12/16 17:31:51 espie Exp $ */ /* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */ /* *************** *** 43,49 **** #if 0 static char sccsid[] = "@(#)compat.c 8.2 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: compat.c,v 1.16 1999/12/16 17:27:18 espie Exp $"; #endif #endif /* not lint */ --- 43,49 ---- #if 0 static char sccsid[] = "@(#)compat.c 8.2 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: compat.c,v 1.17 1999/12/16 17:31:51 espie Exp $"; #endif #endif /* not lint */ *************** *** 350,357 **** if (cpid == 0) { if (local) { execvp(av[0], av); ! (void) write (2, av[0], strlen (av[0])); ! (void) write (2, ": not found\n", sizeof(": not found")); } else { (void)execv(av[0], av); } --- 350,359 ---- if (cpid == 0) { if (local) { execvp(av[0], av); ! if (errno == ENOENT) ! fprintf(stderr, "%s: not found\n", av[0]); ! else ! perror(av[0]); } else { (void)execv(av[0], av); }