OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2838fb
)
Don't try to write boot_vga since that fails with EACCES
author
Aaron Plattner
<aplattner@nvidia.com>
Fri, 1 May 2009 22:04:19 +0000
(15:04 -0700)
committer
Aaron Plattner
<aplattner@nvidia.com>
Fri, 1 May 2009 22:04:19 +0000
(15:04 -0700)
src/linux_sysfs.c
patch
|
blob
|
history
diff --git
a/src/linux_sysfs.c
b/src/linux_sysfs.c
index
5afa7d2
..
1ae9e52
100644
(file)
--- a/
src/linux_sysfs.c
+++ b/
src/linux_sysfs.c
@@
-716,7
+716,7
@@
static int pci_device_linux_sysfs_boot_vga(struct pci_device *dev)
dev->dev,
dev->func );
- fd = open( name, O_RD
WR
);
+ fd = open( name, O_RD
ONLY
);
if (fd == -1)
return 0;