Do not increment a bool var - from Henning Petersen, PR port-vax/44816.
This commit is contained in:
parent
428c959348
commit
292d7c42ed
@ -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.
|
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -38,7 +38,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -76,7 +76,7 @@ sbi_print(void *aux, const char *name)
|
|||||||
case NEX_CI:
|
case NEX_CI:
|
||||||
aprint_naive("ci at %s", name);
|
aprint_naive("ci at %s", name);
|
||||||
aprint_normal("ci at %s", name);
|
aprint_normal("ci at %s", name);
|
||||||
unsupp++;
|
unsupp = true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
aprint_naive("unknown device 0x%x at %s",
|
aprint_naive("unknown device 0x%x at %s",
|
||||||
|
Loading…
Reference in New Issue
Block a user