Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Do not increment a bool var - from Henning ...



details:   https://anonhg.NetBSD.org/src/rev/3cdd89a4db16
branches:  trunk
changeset: 763744:3cdd89a4db16
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Apr 02 10:21:58 2011 +0000

description:
Do not increment a bool var - from Henning Petersen, PR port-vax/44816.

diffstat:

 sys/arch/vax/vax/sbi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 26e68aaf7cc9 -r 3cdd89a4db16 sys/arch/vax/vax/sbi.c
--- a/sys/arch/vax/vax/sbi.c    Sat Apr 02 10:19:27 2011 +0000
+++ b/sys/arch/vax/vax/sbi.c    Sat Apr 02 10:21:58 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbi.c,v 1.36 2010/12/14 23:44:49 matt Exp $ */
+/*     $NetBSD: sbi.c,v 1.37 2011/04/02 10:21:58 martin Exp $ */
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbi.c,v 1.36 2010/12/14 23:44:49 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbi.c,v 1.37 2011/04/02 10:21:58 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -76,7 +76,7 @@
                case NEX_CI:
                        aprint_naive("ci at %s", name);
                        aprint_normal("ci at %s", name);
-                       unsupp++;
+                       unsupp = true;
                        break;
                default:
                        aprint_naive("unknown device 0x%x at %s",



Home | Main Index | Thread Index | Old Index