diff options
author | David Tardon <dtardon@redhat.com> | 2022-06-24 09:13:42 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2022-06-28 12:50:43 +0200 |
commit | e2341b6bc325932b3f9f10874956952cbdbd6361 (patch) | |
tree | b7ffbab32c7fa4023f8251bdab9c542a11fe52aa /src/home/homework-mount.c | |
parent | ci: remove links to "codeless contribution" actions (diff) | |
download | systemd-e2341b6bc325932b3f9f10874956952cbdbd6361.tar.xz systemd-e2341b6bc325932b3f9f10874956952cbdbd6361.zip |
tree-wide: allow ASCII fallback for → in logs
Diffstat (limited to 'src/home/homework-mount.c')
-rw-r--r-- | src/home/homework-mount.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/home/homework-mount.c b/src/home/homework-mount.c index 3095a10ff9..e71e8cd853 100644 --- a/src/home/homework-mount.c +++ b/src/home/homework-mount.c @@ -7,6 +7,7 @@ #include "alloc-util.h" #include "fd-util.h" #include "format-util.h" +#include "glyph-util.h" #include "home-util.h" #include "homework-mount.h" #include "homework.h" @@ -296,7 +297,8 @@ int home_shift_uid(int dir_fd, const char *target, uid_t stored_uid, uid_t expos if (r < 0) return log_error_errno(errno, "Failed to apply UID/GID map: %m"); - log_debug("Applied uidmap mount to %s. Mapping is " UID_FMT " → " UID_FMT ".", strna(target), stored_uid, exposed_uid); + log_debug("Applied uidmap mount to %s. Mapping is " UID_FMT " %s " UID_FMT ".", + strna(target), stored_uid, special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), exposed_uid); if (ret_mount_fd) *ret_mount_fd = TAKE_FD(mount_fd); |