dissect-image: fix two log messages in mountfsd_mount_directory_fd()

Let's fix some copypasta and make the log messages actually match what
they are about.
This commit is contained in:
Lennart Poettering
2025-08-18 23:19:06 +02:00
committed by Luca Boccassi
parent 16758c2650
commit a294cc182d

View 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;