fix print formatting.

This commit is contained in:
christos 2006-10-29 19:05:36 +00:00
parent 7379f78872
commit 0e5129986f
3 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: npx_acpi.c,v 1.14 2006/10/29 16:11:54 christos Exp $ */
/* $NetBSD: npx_acpi.c,v 1.15 2006/10/29 19:05:36 christos Exp $ */
/*
* Copyright (c) 2002 Jared D. McNeill <jmcneill@invisible.ca>
@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: npx_acpi.c,v 1.14 2006/10/29 16:11:54 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: npx_acpi.c,v 1.15 2006/10/29 19:05:36 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -134,8 +134,8 @@ npx_acpi_attach(struct device *parent __unused, struct device *self, void *aux)
/*FALLTHROUGH*/
case NPX_CPUID:
aprint_verbose("%s:%s using exception 16\n",
sc->sc_type == NPX_CPUID ? " reported by CPUID;" : "",
sc->sc_dev.dv_xname);
sc->sc_dev.dv_xname,
sc->sc_type == NPX_CPUID ? " reported by CPUID;" : "");
sc->sc_type = NPX_EXCEPTION;
break;
case NPX_BROKEN:

View File

@ -1,4 +1,4 @@
/* $NetBSD: npx_isa.c,v 1.13 2006/10/28 21:24:45 christos Exp $ */
/* $NetBSD: npx_isa.c,v 1.14 2006/10/29 19:05:36 christos Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: npx_isa.c,v 1.13 2006/10/28 21:24:45 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: npx_isa.c,v 1.14 2006/10/29 19:05:36 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -163,8 +163,8 @@ npx_isa_attach(struct device *parent __unused, struct device *self, void *aux)
/*FALLTHROUGH*/
case NPX_CPUID:
aprint_verbose("%s:%s using exception 16\n",
sc->sc_type == NPX_CPUID ? " reported by CPUID;" : "",
sc->sc_dev.dv_xname);
sc->sc_dev.dv_xname,
sc->sc_type == NPX_CPUID ? " reported by CPUID;" : "");
sc->sc_type = NPX_EXCEPTION;
break;
case NPX_BROKEN:

View File

@ -1,4 +1,4 @@
/* $NetBSD: npx_pnpbios.c,v 1.8 2006/10/29 18:00:10 christos Exp $ */
/* $NetBSD: npx_pnpbios.c,v 1.9 2006/10/29 19:05:36 christos Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: npx_pnpbios.c,v 1.8 2006/10/29 18:00:10 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: npx_pnpbios.c,v 1.9 2006/10/29 19:05:36 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -110,8 +110,8 @@ npx_pnpbios_attach(struct device *parent __unused, struct device *self,
/*FALLTHROUGH*/
case NPX_CPUID:
aprint_verbose("%s:%s using exception 16\n",
sc->sc_type == NPX_CPUID ? " reported by CPUID;" : "",
sc->sc_dev.dv_xname);
sc->sc_dev.dv_xname,
sc->sc_type == NPX_CPUID ? " reported by CPUID;" : "");
sc->sc_type = NPX_EXCEPTION;
break;
case NPX_BROKEN: