projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1045d00
)
insmod: fix detection of open failure
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 31 Aug 2008 21:56:48 +0000
(21:56 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 31 Aug 2008 21:56:48 +0000
(21:56 -0000)
modutils/insmod.c
patch
|
blob
|
history
diff --git
a/modutils/insmod.c
b/modutils/insmod.c
index 09e7d6811306d8edb7270cde8e38a8ddd5cb08ce..80dbfd78ec17e6126e6763fd8c141ba374ce0278 100644
(file)
--- a/
modutils/insmod.c
+++ b/
modutils/insmod.c
@@
-4275,7
+4275,7
@@
static int insmod_ng_main(int argc UNUSED_PARAM, char **argv)
}
#else
len = MAXINT(ssize_t);
- map = xmalloc_open_read_close(filename, &len);
+ map = xmalloc_
x
open_read_close(filename, &len);
#endif
if (init_module(map, len, options) != 0)