Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/fpu fpu_dumpfpn(): Add missing \n in printf...



details:   https://anonhg.NetBSD.org/src/rev/476bc6bb2f8d
branches:  trunk
changeset: 935178:476bc6bb2f8d
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Jun 27 04:18:57 2020 +0000

description:
fpu_dumpfpn(): Add missing \n in printf() format.

diffstat:

 sys/arch/powerpc/fpu/fpu_emu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3a687c294ce3 -r 476bc6bb2f8d sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c    Sat Jun 27 04:17:51 2020 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c    Sat Jun 27 04:18:57 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_emu.c,v 1.20 2020/06/27 03:07:57 rin Exp $ */
+/*     $NetBSD: fpu_emu.c,v 1.21 2020/06/27 04:18:57 rin Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.20 2020/06/27 03:07:57 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.21 2020/06/27 04:18:57 rin Exp $");
 
 #include "opt_ddb.h"
 
@@ -163,7 +163,7 @@
                "SNAN", "QNAN", "ZERO", "NUM", "INF"
        };
 
-       printf("%s %c.%x %x %x %xE%d", class[fp->fp_class + 2],
+       printf("%s %c.%x %x %x %xE%d\n", class[fp->fp_class + 2],
                fp->fp_sign ? '-' : ' ',
                fp->fp_mant[0], fp->fp_mant[1],
                fp->fp_mant[2], fp->fp_mant[3], 



Home | Main Index | Thread Index | Old Index