Commit 67a8eb7c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Cset exclude: willy@debian.org|ChangeSet|20030621161842|52492

parent 1a92d38b
......@@ -389,11 +389,7 @@ int pci_proc_attach_device(struct pci_dev *dev)
return -EACCES;
if (!(de = bus->procdir)) {
if (pci_domain_nr(bus) == 0) {
sprintf(name, "%02x", bus->number);
} else {
sprintf(name, "%04x:%02x", pci_domain_nr(bus), bus->number);
}
sprintf(name, "%02x", bus->number);
de = bus->procdir = proc_mkdir(name, proc_bus_pci_dir);
if (!de)
return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment