Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/prep/pci Add missing printf args.



details:   https://anonhg.NetBSD.org/src/rev/7ad15f85d511
branches:  trunk
changeset: 501037:7ad15f85d511
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Dec 22 18:16:37 2000 +0000

description:
Add missing printf args.

diffstat:

 sys/arch/prep/pci/pcib.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r d76de2d2dcac -r 7ad15f85d511 sys/arch/prep/pci/pcib.c
--- a/sys/arch/prep/pci/pcib.c  Fri Dec 22 17:08:32 2000 +0000
+++ b/sys/arch/prep/pci/pcib.c  Fri Dec 22 18:16:37 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcib.c,v 1.2 2000/11/27 08:53:55 matt Exp $    */
+/*     $NetBSD: pcib.c,v 1.3 2000/12/22 18:16:37 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -116,11 +116,11 @@
 
        v = pci_conf_read(pa->pa_pc, pa->pa_tag, 0x40);
        if ((v & 0x20) == 0) {
-               printf("%s: PIRQ[0-3] not used\n");
+               printf("%s: PIRQ[0-3] not used\n", self->dv_xname);
        } else {
                v = pci_conf_read(pa->pa_pc, pa->pa_tag, 0x60);
                if ((v & 0x80808080) == 0x80808080) {
-                       printf("%s: PIRQ[0-3] disabled\n");
+                       printf("%s: PIRQ[0-3] disabled\n", self->dv_xname);
                } else {
                        int i;
                        printf("%s:", self->dv_xname);



Home | Main Index | Thread Index | Old Index