]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
chase: fix typo in log message
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Nov 2025 08:31:58 +0000 (09:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 7 Nov 2025 13:04:19 +0000 (14:04 +0100)
(While we are at it, add quotes around user provided strings)

src/basic/chase.c

index ef3d24ecbe2ee9c329bf55b9b22926982ba18ae5..a547043c16c3061399458524964a941e6a3a0071 100644 (file)
@@ -68,7 +68,7 @@ static int log_autofs_mount_point(int fd, const char *path, ChaseFlags flags) {
         (void) fd_get_path(fd, &n1);
 
         return log_warning_errno(SYNTHETIC_ERRNO(EREMOTE),
-                                 "Detected autofs mount point %s during canonicalization of %s.",
+                                 "Detected autofs mount point '%s' during canonicalization of '%s'.",
                                  strna(n1), path);
 }
 
@@ -83,7 +83,7 @@ static int log_prohibited_symlink(int fd, ChaseFlags flags) {
         (void) fd_get_path(fd, &n1);
 
         return log_warning_errno(SYNTHETIC_ERRNO(EREMCHG),
-                                 "Detected symlink where not symlink is allowed at %s, refusing.",
+                                 "Detected symlink where no symlink is allowed at '%s', refusing.",
                                  strna(n1));
 }