[LEDE-DEV] [PATCH ubox 1/6] kmodloader: remove redundant glob wildcard char
Yousong Zhou
yszhou4tech at gmail.com
Wed Jan 11 03:54:05 PST 2017
Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
kmodloader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kmodloader.c b/kmodloader.c
index f80835a..9fe7d7f 100644
--- a/kmodloader.c
+++ b/kmodloader.c
@@ -762,7 +762,7 @@ static int main_modprobe(int argc, char **argv)
static int main_loader(int argc, char **argv)
{
int gl_flags = GLOB_NOESCAPE | GLOB_MARK;
- char *dir = "/etc/modules.d/*";
+ char *dir = "/etc/modules.d/";
struct module *m;
glob_t gl;
char *path;
--
2.6.4
More information about the Lede-dev
mailing list