Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst/arch/i386 knf style adjustments



details:   https://anonhg.NetBSD.org/src/rev/4d420357f942
branches:  trunk
changeset: 461138:4d420357f942
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Nov 16 18:08:36 2019 +0000

description:
knf style adjustments

diffstat:

 usr.sbin/sysinst/arch/i386/md.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 23a2ece9b503 -r 4d420357f942 usr.sbin/sysinst/arch/i386/md.c
--- a/usr.sbin/sysinst/arch/i386/md.c   Sat Nov 16 17:53:46 2019 +0000
+++ b/usr.sbin/sysinst/arch/i386/md.c   Sat Nov 16 18:08:36 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.22 2019/11/12 16:33:14 martin Exp $ */
+/*     $NetBSD: md.c,v 1.23 2019/11/16 18:08:36 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -256,11 +256,12 @@
                 * Too hard to double check, so just 'know' the device numbers.
                 */
                len = sizeof condev;
-               if (sysctl(conmib, __arraycount(conmib), &condev, &len, NULL, 0) != -1
-                   && (condev & ~3) == 0x800) {
+               if (sysctl(conmib, __arraycount(conmib), &condev, &len, NULL,
+                   0) != -1 && (condev & ~3) == 0x800) {
                        /* Motherboard serial port */
                        boottype.bp_consdev = (condev & 3) + 1;
-                       /* Defaulting the baud rate to that of stdin should suffice */
+                       /* Defaulting the baud rate to that of stdin should
+                          suffice */
                        if (tcgetattr(0, &t) != -1)
                                boottype.bp_conspeed = t.c_ispeed;
                }



Home | Main Index | Thread Index | Old Index