Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/stand/boot Don't use cnputc() directly in a...



details:   https://anonhg.NetBSD.org/src/rev/555ef3c1879f
branches:  trunk
changeset: 336127:555ef3c1879f
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Feb 14 06:16:29 2015 +0000

description:
Don't use cnputc() directly in an application layer.

diffstat:

 sys/arch/luna68k/stand/boot/disklabel.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 090a4c696f5e -r 555ef3c1879f sys/arch/luna68k/stand/boot/disklabel.c
--- a/sys/arch/luna68k/stand/boot/disklabel.c   Sat Feb 14 05:58:02 2015 +0000
+++ b/sys/arch/luna68k/stand/boot/disklabel.c   Sat Feb 14 06:16:29 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.c,v 1.8 2015/02/14 05:58:02 tsutsui Exp $    */
+/*     $NetBSD: disklabel.c,v 1.9 2015/02/14 06:16:29 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -399,15 +399,15 @@
                        printf("\t# (Cyl. %d",
                            pp->p_offset / lp->d_secpercyl);
                        if (pp->p_offset % lp->d_secpercyl)
-                               cnputc('*');
+                               putchar('*');
                        else
-                               cnputc(' ');
+                               putchar(' ');
                        printf("- %d",
                            (pp->p_offset +
                            pp->p_size + lp->d_secpercyl - 1) /
                            lp->d_secpercyl - 1);
                        if (pp->p_size % lp->d_secpercyl)
-                               cnputc('*');
+                               putchar('*');
                        printf(")\n");
                }
        }



Home | Main Index | Thread Index | Old Index