Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcmips/hpcmips delete \n in cpu_model.



details:   https://anonhg.NetBSD.org/src/rev/28da39c375fe
branches:  trunk
changeset: 481953:28da39c375fe
user:      sato <sato%NetBSD.org@localhost>
date:      Thu Feb 10 08:34:08 2000 +0000

description:
delete \n in cpu_model.

diffstat:

 sys/arch/hpcmips/hpcmips/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e7656f699c4b -r 28da39c375fe sys/arch/hpcmips/hpcmips/machdep.c
--- a/sys/arch/hpcmips/hpcmips/machdep.c        Thu Feb 10 07:45:43 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/machdep.c        Thu Feb 10 08:34:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.17 2000/02/10 02:15:01 sato Exp $        */
+/*     $NetBSD: machdep.c,v 1.18 2000/02/10 08:34:08 sato Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2000/02/10 02:15:01 sato Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2000/02/10 08:34:08 sato Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 #include "opt_vr41x1.h"
@@ -457,7 +457,7 @@
         * Good {morning,afternoon,evening,night}.
         */
        printf(version);
-       sprintf(cpu_model, "%s (%s)\n", platid_name(&platid), cpu_name);
+       sprintf(cpu_model, "%s (%s)", platid_name(&platid), cpu_name);
        printf("%s\n", cpu_model);
        format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
        printf("total memory = %s\n", pbuf);



Home | Main Index | Thread Index | Old Index