summaryrefslogtreecommitdiffstats
path: root/src/machine-id-setup
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-12-22 13:00:31 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-02-17 14:58:55 +0100
commita133d2c366ea0661f4c57c9ddda3e6742dfc2566 (patch)
treea4a3af502423881a00d45d9b202ff152d3555c03 /src/machine-id-setup
parentprocess-util: add helper get_process_threads() (diff)
downloadsystemd-a133d2c366ea0661f4c57c9ddda3e6742dfc2566.tar.xz
systemd-a133d2c366ea0661f4c57c9ddda3e6742dfc2566.zip
dissect-image: Return mount point fd if requested
Diffstat (limited to 'src/machine-id-setup')
-rw-r--r--src/machine-id-setup/machine-id-setup-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine-id-setup/machine-id-setup-main.c b/src/machine-id-setup/machine-id-setup-main.c
index 9101f4e11a..5620bf9baf 100644
--- a/src/machine-id-setup/machine-id-setup-main.c
+++ b/src/machine-id-setup/machine-id-setup-main.c
@@ -147,6 +147,7 @@ static int run(int argc, char *argv[]) {
DISSECT_IMAGE_FSCK |
DISSECT_IMAGE_GROWFS,
&unlink_dir,
+ /* ret_dir_fd= */ NULL,
&loop_device);
if (r < 0)
return r;