OSDN Git Service
(root)
/
android-x86
/
external-busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8540f7
)
Alex Landau writes: open firmware for reading, not writing
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 14 Jun 2007 09:29:48 +0000
(09:29 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 14 Jun 2007 09:29:48 +0000
(09:29 -0000)
util-linux/mdev.c
patch
|
blob
|
history
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index
fca4fd0
..
8743cdb
100644
(file)
--- a/
util-linux/mdev.c
+++ b/
util-linux/mdev.c
@@
-241,7
+241,7
@@
static inline void load_firmware(const char * const firmware, const char * const
/* check for /lib/firmware/$FIRMWARE */
xchdir("/lib/firmware");
- firmware_fd = xopen(firmware, O_
WR
ONLY);
+ firmware_fd = xopen(firmware, O_
RD
ONLY);
/* in case we goto out ... */
data_fd = -1;