diff options
author | 1998-07-05 18:36:52 +0000 | |
---|---|---|
committer | 1998-07-05 18:36:52 +0000 | |
commit | 3bfa8ee4afe2204e29ccdd705e82393e1784197b (patch) | |
tree | 871cf2a71f4464dc56489a3889ab16ce104d1809 | |
parent | install krb.realms with 644 perms (diff) | |
download | wireguard-openbsd-3bfa8ee4afe2204e29ccdd705e82393e1784197b.tar.xz wireguard-openbsd-3bfa8ee4afe2204e29ccdd705e82393e1784197b.zip |
use STDERR_FILENO; kleink
-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)); |