diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-07-06 12:28:09 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-07-19 18:28:21 +0200 |
commit | c3ad978633cd46491ebe1065fd4884adb13a8f5c (patch) | |
tree | 5600b6529762d066b0299f7c2b3bb761d244006b /src/modules-load | |
parent | 3cb9b42af3b205fba176ebf51ce0e07739698278 (diff) | |
download | systemd-c3ad978633cd46491ebe1065fd4884adb13a8f5c.tar.gz systemd-c3ad978633cd46491ebe1065fd4884adb13a8f5c.tar.bz2 systemd-c3ad978633cd46491ebe1065fd4884adb13a8f5c.zip |
udev-builtin-kmod: use the generic module_load() function
There should be no functional change.
Diffstat (limited to 'src/modules-load')
-rw-r--r-- | src/modules-load/modules-load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c index b3a4e818b6..4b0b9f4c80 100644 --- a/src/modules-load/modules-load.c +++ b/src/modules-load/modules-load.c @@ -92,7 +92,7 @@ static int apply_file(struct kmod_ctx *ctx, const char *path, bool ignore_enoent if (strchr(COMMENTS "\n", *l)) continue; - k = module_load_and_warn(ctx, l); + k = module_load_and_warn(ctx, l, true); if (k < 0 && r == 0) r = k; } @@ -189,7 +189,7 @@ int main(int argc, char *argv[]) { char **fn, **i; STRV_FOREACH(i, arg_proc_cmdline_modules) { - k = module_load_and_warn(ctx, *i); + k = module_load_and_warn(ctx, *i, true); if (k < 0 && r == 0) r = k; } |