From: Yousong Zhou Date: Fri, 13 Jan 2017 17:00:30 +0000 (+0800) Subject: kmodloader: remove redundant glob wildcard char X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eacc426152ded54312fd1440bf6558ff2b69851f;p=oweals%2Fubox.git kmodloader: remove redundant glob wildcard char Signed-off-by: Yousong Zhou --- 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;