diff options
author | 2001-11-16 23:50:40 +0000 | |
---|---|---|
committer | 2001-11-16 23:50:40 +0000 | |
commit | 8c215f0acbdec14c2eb8b7d13a7a2619120d67b4 (patch) | |
tree | 9464960dc5a90550849cc4d9c18499cd4b9200a7 | |
parent | errno safety in SIGCHLD handler (diff) | |
download | wireguard-openbsd-8c215f0acbdec14c2eb8b7d13a7a2619120d67b4.tar.xz wireguard-openbsd-8c215f0acbdec14c2eb8b7d13a7a2619120d67b4.zip |
incorrect write
-rw-r--r-- | usr.bin/m4/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/m4/misc.c b/usr.bin/m4/misc.c index 2e2ab819642..e4bfa7ef1a8 100644 --- a/usr.bin/m4/misc.c +++ b/usr.bin/m4/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.25 2001/10/10 11:17:37 espie Exp $ */ +/* $OpenBSD: misc.c,v 1.26 2001/11/16 23:50:40 deraadt Exp $ */ /* $NetBSD: misc.c,v 1.6 1995/09/28 05:37:41 tls Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: misc.c,v 1.25 2001/10/10 11:17:37 espie Exp $"; +static char rcsid[] = "$OpenBSD: misc.c,v 1.26 2001/11/16 23:50:40 deraadt Exp $"; #endif #endif /* not lint */ @@ -242,7 +242,7 @@ onintr(signo) int signo; { #define intrmessage "m4: interrupted.\n" - write(STDERR_FILENO, intrmessage, sizeof(intrmessage)); + write(STDERR_FILENO, intrmessage, sizeof(intrmessage)-1); _exit(1); } |