]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vmspawn: fix typo in log specifier
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 10 Dec 2025 15:32:08 +0000 (16:32 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Dec 2025 16:12:27 +0000 (01:12 +0900)
Follow-up for 179dcf924f7d0ac9398f54baeb39b47abd23aeaf

src/vmspawn/vmspawn.c

index 633e6a25caf4129545659091ae73c0a47d00dcd1..75d6c21e2828eff27a9c250029216152d3e262a1 100644 (file)
@@ -2871,7 +2871,7 @@ static int run_virtual_machine(int kvm_device_fd, int vhost_device_fd) {
         /* Exit when the child exits */
         r = event_add_child_pidref(event, /* ret= */ NULL, &child_pidref, WEXITED, on_child_exit, /* userdata= */ NULL);
         if (r < 0)
-                return log_error_errno(r, "Failed to watch qemu process: &m");
+                return log_error_errno(r, "Failed to watch qemu process: %m");
 
         _cleanup_(osc_context_closep) sd_id128_t osc_context_id = SD_ID128_NULL;
         _cleanup_(pty_forward_freep) PTYForward *forward = NULL;