From 019c7e43bcac498033a6af372753eaca3f16a536 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Wed, 23 Jun 2021 16:33:14 +0900
Subject: [PATCH] udev: fix key name in debug log

(cherry picked from commit 51c2f543d1474c2615fb8282ea90b2954db33a7e)

Conflict:NA
Reference:https://github.com/systemd/systemd-stable/commit/019c7e43bcac498033a6af372753eaca3f16a536
---
 src/udev/udev-rules.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index 2f25e7184b..470692119d 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -2091,7 +2091,8 @@ static int udev_rule_apply_token_to_event(
                 else
                         count = 0;
                 if (count > 0)
-                        log_rule_debug(dev, rules, "Replaced %zu character(s) from result of LINK", count);
+                        log_rule_debug(dev, rules, "Replaced %zu character(s) from result of SYMLINK=\"%s\"",
+                                       count, token->value);
 
                 p = skip_leading_chars(buf, NULL);
                 while (!isempty(p)) {
-- 
2.27.0

