diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-13 02:33:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-13 02:33:10 +0000 |
commit | 1aa7b0eba47e9452ea6454af501b33b70e05d060 (patch) | |
tree | 046eecb5edae4ab0d192fb5297f35203fc8b44ed /usr.bin/make | |
parent | 8b7d13b0e05b4a89823fc6e4ea4e6043f9540c72 (diff) |
use STD{IN,OUT,ERR}_FILENO
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/job.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |