Module Name:    src
Committed By:   martin
Date:           Sat Nov 16 18:08:36 UTC 2019

Modified Files:
        src/usr.sbin/sysinst/arch/i386: md.c

Log Message:
knf style adjustments


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/arch/i386/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/arch/i386/md.c
diff -u src/usr.sbin/sysinst/arch/i386/md.c:1.22 src/usr.sbin/sysinst/arch/i386/md.c:1.23
--- src/usr.sbin/sysinst/arch/i386/md.c:1.22	Tue Nov 12 16:33:14 2019
+++ src/usr.sbin/sysinst/arch/i386/md.c	Sat Nov 16 18:08:36 2019
@@ -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 @@ md_post_newfs_bios(struct install_partit
 		 * 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;
 		}

Reply via email to