Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/pcictl Update for new pci_devinfo(3) signature.



details:   https://anonhg.NetBSD.org/src/rev/cdc4f792e003
branches:  trunk
changeset: 565959:cdc4f792e003
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Apr 24 13:41:51 2004 +0000

description:
Update for new pci_devinfo(3) signature.

diffstat:

 usr.sbin/pcictl/pcictl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r eeaa6d57e4da -r cdc4f792e003 usr.sbin/pcictl/pcictl.c
--- a/usr.sbin/pcictl/pcictl.c  Sat Apr 24 13:38:36 2004 +0000
+++ b/usr.sbin/pcictl/pcictl.c  Sat Apr 24 13:41:51 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcictl.c,v 1.7 2004/01/05 23:23:38 jmmv Exp $  */
+/*     $NetBSD: pcictl.c,v 1.8 2004/04/24 13:41:51 kleink Exp $        */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -313,7 +313,7 @@
        if (pcibus_conf_read(pcifd, bus, dev, func, PCI_CLASS_REG, &class) != 0)
                return;
 
-       pci_devinfo(id, class, 1, devinfo);
+       pci_devinfo(id, class, 1, devinfo, sizeof(devinfo));
 
        printf("%03u:%02u:%01u: %s\n", bus, dev, func, devinfo);
 }



Home | Main Index | Thread Index | Old Index