summaryrefslogtreecommitdiff
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-03-14 06:51:43 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-03-14 06:51:43 +0000
commit589df74d6e3673fb8255ea0f6dbe205b69a73683 (patch)
tree90364789fc8ae5e67b30350658fc5c2e2b0fb4dd /usr.sbin/config
parent50aefd34a9b151f57aa0a541ca4600e9269c8290 (diff)
Remove \n from err/errx/warn/warnx().
millert@ ok
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/exec_aout.c6
-rw-r--r--usr.sbin/config/exec_ecoff.c6
-rw-r--r--usr.sbin/config/exec_elf.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/config/exec_aout.c b/usr.sbin/config/exec_aout.c
index c481b455aaf..80b9dbf97d6 100644
--- a/usr.sbin/config/exec_aout.c
+++ b/usr.sbin/config/exec_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_aout.c,v 1.3 2001/12/05 10:11:23 deraadt Exp $ */
+/* $OpenBSD: exec_aout.c,v 1.4 2002/03/14 06:51:42 mpech Exp $ */
/*
* Copyright (c) 1999 Mats O Jansson. All rights reserved.
@@ -30,7 +30,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: exec_aout.c,v 1.3 2001/12/05 10:11:23 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: exec_aout.c,v 1.4 2002/03/14 06:51:42 mpech Exp $";
#endif
#include <err.h>
@@ -104,7 +104,7 @@ aout_loadkernel(file)
errx(1, "can't read a.out header");
if (N_BADMAG(aout_ex))
- errx(1, "bad a.out magic\n");
+ errx(1, "bad a.out magic");
(void)lseek(fd, (off_t)0, SEEK_SET);
diff --git a/usr.sbin/config/exec_ecoff.c b/usr.sbin/config/exec_ecoff.c
index 6bffbbe691e..ba5791967fd 100644
--- a/usr.sbin/config/exec_ecoff.c
+++ b/usr.sbin/config/exec_ecoff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_ecoff.c,v 1.5 2001/12/05 10:11:23 deraadt Exp $ */
+/* $OpenBSD: exec_ecoff.c,v 1.6 2002/03/14 06:51:42 mpech Exp $ */
/*
* Copyright (c) 1999 Mats O Jansson. All rights reserved.
@@ -30,7 +30,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: exec_ecoff.c,v 1.5 2001/12/05 10:11:23 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: exec_ecoff.c,v 1.6 2002/03/14 06:51:42 mpech Exp $";
#endif
#include <err.h>
@@ -107,7 +107,7 @@ ecoff_loadkernel(file)
errx(1, "can't read ecoff header");
if (ECOFF_BADMAG(&ecoff_ex))
- errx(1, "bad ecoff magic\n");
+ errx(1, "bad ecoff magic");
ecoff_psz = ecoff_ex.a.tsize + ecoff_ex.a.dsize;
beg = lseek(fd, ECOFF_TXTOFF(&ecoff_ex), SEEK_SET);
diff --git a/usr.sbin/config/exec_elf.c b/usr.sbin/config/exec_elf.c
index ce00480c342..3b96e841875 100644
--- a/usr.sbin/config/exec_elf.c
+++ b/usr.sbin/config/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.4 2001/12/05 10:11:23 deraadt Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.5 2002/03/14 06:51:42 mpech Exp $ */
/*
* Copyright (c) 1999 Mats O Jansson. All rights reserved.
@@ -30,7 +30,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: exec_elf.c,v 1.4 2001/12/05 10:11:23 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: exec_elf.c,v 1.5 2002/03/14 06:51:42 mpech Exp $";
#endif
#include <err.h>
@@ -135,7 +135,7 @@ elf_loadkernel(file)
errx(1, "can't read elf header");
if (!IS_ELF(elf_ex))
- errx(1, "bad elf magic\n");
+ errx(1, "bad elf magic");
elf_size = lseek(fd, 0L, SEEK_END);
(void)lseek(fd, 0L, SEEK_SET);