summaryrefslogtreecommitdiff
path: root/src/boot/bless-boot.c
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-06-13 00:01:02 +0100
committerLuca Boccassi <bluca@debian.org>2022-07-08 16:58:15 +0100
commit80a2381d5c156cffedf41a3e7b95f7a00045a0fd (patch)
treec84b84deb3bb654c3d40cdd14f19293e474a49ad /src/boot/bless-boot.c
parent99080ed3f0cca0f5a3cc8fc02d1445f6566cca36 (diff)
downloadsystemd-80a2381d5c156cffedf41a3e7b95f7a00045a0fd.tar.gz
bootctl: add --root and --image
Operate on image/directory, and also take files to install from it
Diffstat (limited to 'src/boot/bless-boot.c')
-rw-r--r--src/boot/bless-boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/bless-boot.c b/src/boot/bless-boot.c
index d9c901d73b..315a1a37ed 100644
--- a/src/boot/bless-boot.c
+++ b/src/boot/bless-boot.c
@@ -108,11 +108,11 @@ static int acquire_path(void) {
if (!strv_isempty(arg_path))
return 0;
- r = find_esp_and_warn(NULL, /* unprivileged_mode= */ false, &esp_path, NULL, NULL, NULL, NULL, &esp_devid);
+ r = find_esp_and_warn(NULL, NULL, /* unprivileged_mode= */ false, &esp_path, NULL, NULL, NULL, NULL, &esp_devid);
if (r < 0 && r != -ENOKEY) /* ENOKEY means not found, and is the only error the function won't log about on its own */
return r;
- r = find_xbootldr_and_warn(NULL, /* unprivileged_mode= */ false, &xbootldr_path, NULL, &xbootldr_devid);
+ r = find_xbootldr_and_warn(NULL, NULL, /* unprivileged_mode= */ false, &xbootldr_path, NULL, &xbootldr_devid);
if (r < 0 && r != -ENOKEY)
return r;