summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-28 21:05:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-28 21:05:25 +0000
commitec6099d8240b5b26885e23c52c218a3dd7c361de (patch)
tree80b7f6373b599b40fb0de9b5532c410072883665 /gnu
parentb9690c40ba1c5e46b874fba81a45016b93ca0c92 (diff)
do not call err/errx with extra newlines
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld/rtld/rtld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c
index 1537f989d89..48517ab5ceb 100644
--- a/gnu/usr.bin/ld/rtld/rtld.c
+++ b/gnu/usr.bin/ld/rtld/rtld.c
@@ -732,7 +732,7 @@ reloc_map(smp)
np = lookup(sym, &src_map, 0/*XXX-jumpslots!*/);
if (np == NULL)
- errx(1, "Undefined symbol \"%s\" in %s:%s\n",
+ errx(1, "Undefined symbol \"%s\" in %s:%s",
sym, main_progname, smp->som_path);
/*
@@ -776,7 +776,7 @@ reloc_map(smp)
LD_TEXTSZ(smp->som_dynamic),
PROT_READ|PROT_EXEC) == -1) {
- err(1, "Cannot disable writes to %s:%s\n",
+ err(1, "Cannot disable writes to %s:%s",
main_progname, smp->som_path);
}
smp->som_write = 0;
@@ -1054,7 +1054,7 @@ binder(jsp)
}
if (smp == NULL)
- errx(1, "Call to binder from unknown location: %#x\n", jsp);
+ errx(1, "Call to binder from unknown location: %#x", jsp);
index = jsp->reloc_index & JMPSLOT_RELOC_MASK;