From c8650d0dbe9a70dfdc057c30be7e9892834571c6 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Wed, 22 Jan 2025 14:47:57 +0100 Subject: [PATCH] machine-id-setup: fix typo --- src/shared/machine-id-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/machine-id-setup.c b/src/shared/machine-id-setup.c index 19d841a9137..d444ea06e90 100644 --- a/src/shared/machine-id-setup.c +++ b/src/shared/machine-id-setup.c @@ -181,7 +181,7 @@ int machine_id_setup(const char *root, sd_id128_t machine_id, MachineIdSetupFlag fd = xopenat_full(inode_fd, /* path= */ NULL, O_RDWR|O_CLOEXEC, XO_REGULAR, 0444); if (fd < 0) { - log_debug_errno(fd, "Failed to topen '%s' in writable mode, retrying in read-only mode: %m", etc_machine_id); + log_debug_errno(fd, "Failed to open '%s' in writable mode, retrying in read-only mode: %m", etc_machine_id); /* If that didn't work, convert it into a readable file */ fd = xopenat_full(inode_fd, /* path= */ NULL, O_RDONLY|O_CLOEXEC, XO_REGULAR, MODE_INVALID); -- 2.47.3