summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-09 00:12:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-09 00:12:13 +0000
commita316d611782ca21d1688469ad3c9699c8f2636c8 (patch)
tree3b6997c827384dfcb758e999cf7bccb41807cd81
parent4df68521ee9e95f48147879b0f05ef940b1667c7 (diff)
no newline at end of cpu_model
-rw-r--r--sys/arch/landisk/landisk/machdep.c4
-rw-r--r--sys/arch/sh/sh/sh_machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c
index 7fef5d35356..a594da9966f 100644
--- a/sys/arch/landisk/landisk/machdep.c
+++ b/sys/arch/landisk/landisk/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.6 2006/11/06 19:12:13 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.7 2006/11/09 00:12:12 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
@@ -116,7 +116,7 @@ cpu_startup(void)
extern char cpu_model[120];
/* XXX: show model (LANDISK/USL-5P) */
- strlcpy(cpu_model, "I-O DATA USL-5P\n", sizeof cpu_model);
+ strlcpy(cpu_model, "I-O DATA USL-5P", sizeof cpu_model);
sh_startup();
}
diff --git a/sys/arch/sh/sh/sh_machdep.c b/sys/arch/sh/sh/sh_machdep.c
index fa35082eb07..0a8549d092f 100644
--- a/sys/arch/sh/sh/sh_machdep.c
+++ b/sys/arch/sh/sh/sh_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh_machdep.c,v 1.5 2006/11/08 10:53:58 otto Exp $ */
+/* $OpenBSD: sh_machdep.c,v 1.6 2006/11/09 00:12:12 deraadt Exp $ */
/* $NetBSD: sh3_machdep.c,v 1.59 2006/03/04 01:13:36 uwe Exp $ */
/*-
@@ -255,7 +255,7 @@ sh_startup()
printf("%s", version);
if (*cpu_model != '\0')
- printf("%s", cpu_model);
+ printf("%s\n", cpu_model);
#ifdef DEBUG
printf("general exception handler:\t%d byte\n",
sh_vector_generic_end - sh_vector_generic);