diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-05 18:36:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-07-05 18:36:53 +0000 |
commit | 179a8d9603fd4591c000095b1f625a5820aee4d8 (patch) | |
tree | 977ba38cc4ae103f33e9e398c556dc1d8782b20c /lib/libc/gmon/gmon.c | |
parent | c62aeb9bb9e3f3797a3539ceee3cfc63f603e031 (diff) |
use STDERR_FILENO; kleink
Diffstat (limited to 'lib/libc/gmon/gmon.c')
-rw-r--r-- | lib/libc/gmon/gmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index d722ba3dbc0..ef38e9484f8 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c @@ -32,7 +32,7 @@ */ #if !defined(lint) && defined(LIBC_SCCS) -static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $"; +static char rcsid[] = "$OpenBSD: gmon.c,v 1.9 1998/07/05 18:36:52 deraadt Exp $"; #endif #include <sys/param.h> @@ -55,7 +55,7 @@ static int s_scale; /* see profil(2) where this is describe (incorrectly) */ #define SCALE_1_TO_1 0x10000L -#define ERR(s) write(2, s, sizeof(s)) +#define ERR(s) write(STDERR_FILENO, s, sizeof(s)) void moncontrol __P((int)); static int hertz __P((void)); |