From: Lennart Poettering Date: Thu, 6 Nov 2025 08:31:58 +0000 (+0100) Subject: chase: fix typo in log message X-Git-Tag: v259-rc1~137^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ab316ff14df521efcd2282de7860239032c9357;p=thirdparty%2Fsystemd.git chase: fix typo in log message (While we are at it, add quotes around user provided strings) --- diff --git a/src/basic/chase.c b/src/basic/chase.c index ef3d24ecbe2..a547043c16c 100644 --- a/src/basic/chase.c +++ b/src/basic/chase.c @@ -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)); }