diff options
author | Jason Peel <jsyn@cvs.openbsd.org> | 2002-06-11 06:16:37 +0000 |
---|---|---|
committer | Jason Peel <jsyn@cvs.openbsd.org> | 2002-06-11 06:16:37 +0000 |
commit | f1bb7fb5cfe9822f50143a03473f49e825e704bc (patch) | |
tree | b52183f48c7c26eefd4e775d5d3961c0966d3ccd /usr.bin/sed/compile.c | |
parent | ea445c9a491356bc5908d76271fddc05137a4a3c (diff) |
kill err(3) newlines; ok miod@, deraadt@
Diffstat (limited to 'usr.bin/sed/compile.c')
-rw-r--r-- | usr.bin/sed/compile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/sed/compile.c b/usr.bin/sed/compile.c index e47135b6ae7..b14b392e24d 100644 --- a/usr.bin/sed/compile.c +++ b/usr.bin/sed/compile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: compile.c,v 1.11 2002/02/16 21:27:52 millert Exp $ */ +/* $OpenBSD: compile.c,v 1.12 2002/06/11 06:16:36 jsyn Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -39,7 +39,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)compile.c 8.2 (Berkeley) 4/28/95"; */ -static char *rcsid = "$OpenBSD: compile.c,v 1.11 2002/02/16 21:27:52 millert Exp $"; +static char *rcsid = "$OpenBSD: compile.c,v 1.12 2002/06/11 06:16:36 jsyn Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -270,7 +270,7 @@ nonsel: /* Now parse the command */ else if ((cmd->u.fd = open(p, O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, DEFFILEMODE)) == -1) - err(FATAL, "%s: %s\n", p, strerror(errno)); + err(FATAL, "%s: %s", p, strerror(errno)); break; case RFILE: /* r */ p++; @@ -560,7 +560,7 @@ compile_flags(p, s) if (!aflag && (s->wfd = open(wfile, O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, DEFFILEMODE)) == -1) - err(FATAL, "%s: %s\n", wfile, strerror(errno)); + err(FATAL, "%s: %s", wfile, strerror(errno)); return (p); default: err(COMPILE, |