projects
/
oweals
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c105f22
)
kmodloader: fix path printf handling
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 15 Jul 2013 08:17:43 +0000
(10:17 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 15 Jul 2013 08:17:43 +0000
(10:17 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
kmodloader.c
patch
|
blob
|
history
diff --git
a/kmodloader.c
b/kmodloader.c
index 0f7deec267bb0a749ecb1e536d2ea0835ff440be..049a868dca7ca6d5603dd10b33ae42f27eb106ff 100644
(file)
--- a/
kmodloader.c
+++ b/
kmodloader.c
@@
-578,7
+578,7
@@
static int main_depmod(int argc, char **argv)
uname(&ver);
path = alloca(sizeof(DEF_MOD_PATH "*.ko") + strlen(ver.release) + 1);
- s
nprintf(path, sizeof(path)
, DEF_MOD_PATH "*.ko", ver.release);
+ s
printf(path
, DEF_MOD_PATH "*.ko", ver.release);
scan_module_folder(path);