]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
namespace: use EBADF where appropriate
authorLennart Poettering <lennart@poettering.net>
Tue, 18 Mar 2025 15:00:09 +0000 (16:00 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Mar 2025 11:26:06 +0000 (12:26 +0100)
src/core/namespace.c

index 64f773b2c29724e09f71dc38ccc2302c82474aa3..56a3f93c3ea7369425f6afe301a27db7bb13fc11 100644 (file)
@@ -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,