projects
/
bumblebee.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc2fd99
)
Fix detection of devices on bus numbers larger than 9
author
Debian NVIDIA Maintainers
<pkg-nvidia-devel@lists.alioth.debian.org>
Sat, 2 Jan 2021 13:54:24 +0000
(13:54 +0000)
committer
Luca Boccassi
<bluca@debian.org>
Sat, 2 Jan 2021 13:54:24 +0000
(13:54 +0000)
Origin: upstream, https://github.com/Bumblebee-Project/Bumblebee/commit/
2073f8537412aa47755eb6f3f22a114403e5285b
Applied-Upstream: commit:
2073f8537412aa47755eb6f3f22a114403e5285b
Bug: https://github.com/Bumblebee-Project/Bumblebee/issues/573
Gbp-Pq: Name fix-device-detection.patch
src/bbsecondary.c
patch
|
blob
|
history
diff --git
a/src/bbsecondary.c
b/src/bbsecondary.c
index 71a6b73ae57091e7145c9b94b3f347992c45e24e..6b635ee563e7a77a0b7923f1609b97c42efc2bbf 100644
(file)
--- a/
src/bbsecondary.c
+++ b/
src/bbsecondary.c
@@
-138,7
+138,7
@@
bool start_secondary(bool need_secondary) {
if (!bb_is_running(bb_status.x_pid)) {
char pci_id[12];
static char *x_conf_file;
- snprintf(pci_id, 12, "PCI:%02
x:%02x
:%o", pci_bus_id_discrete->bus,
+ snprintf(pci_id, 12, "PCI:%02
d:%02d
:%o", pci_bus_id_discrete->bus,
pci_bus_id_discrete->slot, pci_bus_id_discrete->func);
if (!x_conf_file) {
x_conf_file = xorg_path_w_driver(bb_config.x_conf_file, bb_config.driver);