]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dissect-image: fix two log messages in mountfsd_mount_directory_fd()
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2025 21:19:06 +0000 (23:19 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 19 Aug 2025 10:47:49 +0000 (11:47 +0100)
Let's fix some copypasta and make the log messages actually match what
they are about.

src/shared/dissect-image.c

index ac3c92147edeccf557973a871b591054ea71f7be..26c218e90e4d59a1d4ae7cf8e61ac7bf3a2be56f 100644 (file)
@@ -4713,12 +4713,12 @@ int mountfsd_mount_directory(
 
         r = sd_varlink_push_dup_fd(vl, directory_fd);
         if (r < 0)
-                return log_error_errno(r, "Failed to push image fd into varlink connection: %m");
+                return log_error_errno(r, "Failed to push directory fd into varlink connection: %m");
 
         if (userns_fd >= 0) {
                 r = sd_varlink_push_dup_fd(vl, userns_fd);
                 if (r < 0)
-                        return log_error_errno(r, "Failed to push image fd into varlink connection: %m");
+                        return log_error_errno(r, "Failed to push user namespace fd into varlink connection: %m");
         }
 
         sd_json_variant *reply = NULL;