Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic KNF



details:   https://anonhg.NetBSD.org/src/rev/5a8f43b57a64
branches:  trunk
changeset: 1017677:5a8f43b57a64
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 04 15:14:32 2021 +0000

description:
KNF

diffstat:

 sys/dev/ic/wdc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1f13bb5b01b6 -r 5a8f43b57a64 sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c  Mon Jan 04 15:13:50 2021 +0000
+++ b/sys/dev/ic/wdc.c  Mon Jan 04 15:14:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.305 2021/01/04 15:13:50 skrll Exp $ */
+/*     $NetBSD: wdc.c,v 1.306 2021/01/04 15:14:32 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2001, 2003 Manuel Bouyer.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.305 2021/01/04 15:13:50 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.306 2021/01/04 15:14:32 skrll Exp $");
 
 #include "opt_ata.h"
 #include "opt_wdc.h"
@@ -372,7 +372,7 @@
                 * Init error counter so that an error within the first xfers
                 * will trigger a downgrade
                 */
-               chp->ch_drive[i].n_dmaerrs = NERRS_MAX-1;
+               chp->ch_drive[i].n_dmaerrs = NERRS_MAX - 1;
 #endif
 
                /* If controller can't do 16bit flag the drives as 32bit */



Home | Main Index | Thread Index | Old Index