aboutsummaryrefslogtreecommitdiffstats
path: root/nlplug-findfs.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-03-21 11:31:18 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-03-21 11:31:18 +0200
commitb7b285ee9e05102f770d41643e5534bade289a58 (patch)
tree4f603731a6ce0843c0d253563f477165eba734af /nlplug-findfs.c
parente07a30142f4ccd0a987ed8cf24fbd8d8f66620f9 (diff)
downloadmkinitfs-b7b285ee9e05102f770d41643e5534bade289a58.tar.bz2
mkinitfs-b7b285ee9e05102f770d41643e5534bade289a58.tar.xz
nlplug-findfs: increase the /sys recursion limit
certain platform and usb devices expose things deep down the tree, increase the recursion limit
Diffstat (limited to 'nlplug-findfs.c')
-rw-r--r--nlplug-findfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nlplug-findfs.c b/nlplug-findfs.c
index 5bdb7b1..b11b7b8 100644
--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -805,9 +805,9 @@ static void *trigger_thread(void *data)
};
char path[PATH_MAX] = "/sys/bus";
- recurse_dir(path, &opts, 8);
+ recurse_dir(path, &opts, 64);
strcpy(path, "/sys/devices");
- recurse_dir(path, &opts, 8);
+ recurse_dir(path, &opts, 64);
write(fd, &ok, sizeof(ok));
return NULL;
}