← Commit list

fecb1693c

Denys Vlasenko
Denys Vlasenko
2020-12-29
SUCCESS Duration: 152s

Subject

modprobe-small: convert to new recursive_action() API

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

modutils/modprobe-small.c+4 -4
@@ -377,11 +377,11 @@ static int parse_module(module_info *info, const char *pathname)
return info->open_read_failed;
}
-static FAST_FUNC int fileAction(const char *pathname,
- struct stat *sb UNUSED_PARAM,
- void *modname_to_match,
- int depth UNUSED_PARAM)
+static FAST_FUNC int fileAction(struct recursive_state *state,
+ const char *pathname,
+ struct stat *sb UNUSED_PARAM)
{
+ const char *modname_to_match = state->userData;
int cur;
const char *fname;
bool is_remove = (ENABLE_RMMOD && ONLY_APPLET)