From 1aa7b0eba47e9452ea6454af501b33b70e05d060 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 13 Apr 2005 02:33:10 +0000 Subject: use STD{IN,OUT,ERR}_FILENO --- usr.bin/make/job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/make') diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 469000e97ee..0697b3466e4 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: job.c,v 1.58 2004/11/29 06:20:03 jsg Exp $ */ +/* $OpenBSD: job.c,v 1.59 2005/04/13 02:33:08 deraadt Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* @@ -1336,7 +1336,7 @@ JobExec(Job *job, char **argv) (void)execv(shellPath, argv); - (void)write(2, "Could not execute shell\n", + (void)write(STDERR_FILENO, "Could not execute shell\n", sizeof("Could not execute shell")); _exit(1); } else { -- cgit v1.2.3