summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/stand/boot/aout2bb/aout2bb.c10
-rw-r--r--sys/arch/amiga/stand/loadbsd/loadbsd.c8
-rw-r--r--sys/arch/hppa/stand/mkboot/mkboot.c6
3 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c b/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c
index 1f7a1392168..84be027ae85 100644
--- a/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c
+++ b/sys/arch/amiga/stand/boot/aout2bb/aout2bb.c
@@ -1,5 +1,5 @@
/*
- * $OpenBSD: aout2bb.c,v 1.3 2002/03/14 01:26:29 millert Exp $
+ * $OpenBSD: aout2bb.c,v 1.4 2002/06/11 05:18:21 jsyn Exp $
* $NetBSD: aout2bb.c,v 1.2 1996/12/31 22:39:58 veego Exp $
*
* Copyright (c) 1996 Ignatios Souvatzis
@@ -153,18 +153,18 @@ main(argc, argv)
tsz, dsz, bsz, tsz+dsz+bsz, entry));
if ((trsz+drsz)==0)
- errx(1, "%s has no relocation records.\n", argv[0]);
+ errx(1, "%s has no relocation records.", argv[0]);
dprintf(("%d text relocs, %d data relocs\n", trsz/8, drsz/8));
if (entry != 12)
- errx(1, "%s: entry point 0x%04x is not 0x000c\n", argv[0],
+ errx(1, "%s: entry point 0x%04x is not 0x000c", argv[0],
entry);
/*
* We have one contiguous area allocated by the ROM to us.
*/
if (tsz+dsz+bsz > BBSIZE)
- errx(1, "%s: resulting image too big\n", argv[0]);
+ errx(1, "%s: resulting image too big", argv[0]);
memset(buffer, sizeof(buffer), 0);
memcpy(buffer, image + N_TXTOFF(*eh), tsz+dsz);
@@ -177,7 +177,7 @@ main(argc, argv)
relver = ntohl(*(u_int32_t *)(image+0x24));
switch (relver) {
default:
- errx(1, "%s: unrecognized relocator version %d\n",
+ errx(1, "%s: unrecognized relocator version %d",
argv[0], relver);
/*NOTREACHED*/
diff --git a/sys/arch/amiga/stand/loadbsd/loadbsd.c b/sys/arch/amiga/stand/loadbsd/loadbsd.c
index fb95e097f95..6625e84a268 100644
--- a/sys/arch/amiga/stand/loadbsd/loadbsd.c
+++ b/sys/arch/amiga/stand/loadbsd/loadbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loadbsd.c,v 1.16 2002/03/14 03:15:52 millert Exp $ */
+/* $OpenBSD: loadbsd.c,v 1.17 2002/06/11 05:18:22 jsyn Exp $ */
/* $NetBSD: loadbsd.c,v 1.22 1996/10/13 13:39:52 is Exp $ */
/*
@@ -329,11 +329,11 @@ main(argc, argv)
printf("kernel size: %d\n", ksize);
}
if (kp == NULL)
- err(20, "failed malloc %d\n", ksize);
+ err(20, "failed malloc %d", ksize);
if (read(fd, kp, e.a_text) != e.a_text
|| read(fd, kp + textsz, e.a_data) != e.a_data)
- err(20, "unable to read kernel image\n");
+ err(20, "unable to read kernel image");
if (k_flag) {
fmem += 4 * 1024 * 1024;
@@ -352,7 +352,7 @@ main(argc, argv)
(fmemsz & 0xfffff) ? 'K' : 'M', fmem, cmemsz >> 20);
kvers = (u_short *)(kp + e.a_entry - 2);
if (*kvers > KERNEL_STARTUP_VERSION_MAX && *kvers != 0x4e73)
- err(20, "newer loadbsd required: %d\n", *kvers);
+ err(20, "newer loadbsd required: %d", *kvers);
if (*kvers > KERNEL_STARTUP_VERSION) {
printf("****************************************************\n");
printf("*** Notice: this kernel has features which require\n");
diff --git a/sys/arch/hppa/stand/mkboot/mkboot.c b/sys/arch/hppa/stand/mkboot/mkboot.c
index 26cb8cb7ef4..be86c1ea58a 100644
--- a/sys/arch/hppa/stand/mkboot/mkboot.c
+++ b/sys/arch/hppa/stand/mkboot/mkboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkboot.c,v 1.10 2002/03/14 01:26:32 millert Exp $ */
+/* $OpenBSD: mkboot.c,v 1.11 2002/06/11 05:18:22 jsyn Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$OpenBSD: mkboot.c,v 1.10 2002/03/14 01:26:32 millert Exp $";
+static char rcsid[] = "$OpenBSD: mkboot.c,v 1.11 2002/06/11 05:18:22 jsyn Exp $";
#endif /* not lint */
#endif
@@ -253,7 +253,7 @@ putfile(from_file, to)
} else if (*(u_char *)&ex == 0x1f && ((u_char *)&ex)[1] == 0x8b) {
entry = 0;
} else
- errx(1, "%s: bad magic number\n", from_file);
+ errx(1, "%s: bad magic number", from_file);
entry += sizeof(load);
lseek(to, sizeof(load), SEEK_CUR);