summaryrefslogtreecommitdiff
path: root/src/journal
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/journal
parent6aa90884a093040ddb2dd656c1bf93892420c804 (diff)
downloadsystemd-a133d2c366ea0661f4c57c9ddda3e6742dfc2566.tar.gz
dissect-image: Return mount point fd if requested
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 0267fc6506..e10f0b7564 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -2125,6 +2125,7 @@ static int run(int argc, char *argv[]) {
DISSECT_IMAGE_RELAX_VAR_CHECK |
(arg_action == ACTION_UPDATE_CATALOG ? DISSECT_IMAGE_FSCK|DISSECT_IMAGE_GROWFS : DISSECT_IMAGE_READ_ONLY),
&unlink_dir,
+ /* ret_dir_fd= */ NULL,
&loop_device);
if (r < 0)
return r;