From 9d37b8f6907f21cbcc728e1809acec7f9909dcee Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 18 Mar 2025 16:00:09 +0100 Subject: [PATCH] namespace: use EBADF where appropriate --- src/core/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/namespace.c b/src/core/namespace.c index 64f773b2c29..56a3f93c3ea 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -1522,7 +1522,7 @@ static int mount_image( } r = verity_dissect_and_mount( - /* src_fd= */ -1, + /* src_fd= */ -EBADF, mount_entry_source(m), mount_entry_path(m), m->image_options_const, -- 2.47.3