summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/exec_elf.c
diff options
context:
space:
mode:
authormpech <mpech@openbsd.org>2002-03-14 06:51:41 +0000
committermpech <mpech@openbsd.org>2002-03-14 06:51:41 +0000
commit46347781a5e6cfbee8d0b55754cca7263af44d38 (patch)
treecd69bc92d20e3feea945a88fb926a9faeedfdc42 /usr.sbin/config/exec_elf.c
parentthis mod has nothing to do w/ ptrace option addition, did not even compile (diff)
downloadwireguard-openbsd-46347781a5e6cfbee8d0b55754cca7263af44d38.tar.xz
wireguard-openbsd-46347781a5e6cfbee8d0b55754cca7263af44d38.zip
Remove \n from err/errx/warn/warnx().
millert@ ok
Diffstat (limited to 'usr.sbin/config/exec_elf.c')
-rw-r--r--usr.sbin/config/exec_elf.c6
1 files changed, 3 insertions, 3 deletions
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);