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/1f19fc7f324b
branches:  trunk
changeset: 979642:1f19fc7f324b
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 4dbc743af42b -r 1f19fc7f324b 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