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/4ee772fe2553
branches:  trunk
changeset: 973308:4ee772fe2553
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 1b5edf37ef2d -r 4ee772fe2553 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