diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-03-19 02:49:11 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 02:49:11 +0900 |
commit | 3867264c7823b19b6f736b036836e1ea9a3e53ec (patch) | |
tree | 185a3b15079c91935348cddd7865678451ced15c /src | |
parent | 9edf5752e5a732d0b0f8f254a3740720b8c46233 (diff) | |
parent | 458e8d6dd03ffa3f7591de8ff496c8453efd9c6d (diff) | |
download | systemd-3867264c7823b19b6f736b036836e1ea9a3e53ec.tar.gz |
Merge pull request #26880 from yuwata/test-tmpfiles
tmpfiles: cleanups
Diffstat (limited to 'src')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 098b12c495..73beff063b 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -2286,7 +2286,7 @@ static int rm_if_wrong_type_safe( return 0; (void) fd_get_path(parent_fd, &parent_name); - log_notice("Wrong file type 0x%x; rm -rf \"%s/%s\"", st.st_mode & S_IFMT, strna(parent_name), name); + log_notice("Wrong file type 0o%o; rm -rf \"%s/%s\"", st.st_mode & S_IFMT, strna(parent_name), name); /* If the target of the symlink was the wrong type, the link needs to be removed instead of the * target, so make sure it is identified as a link and not a directory. */ |