diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-05-18 21:38:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 21:38:30 +0200 |
commit | 6f8fa29465eb8e8223392920b3398f4ce08aa89e (patch) | |
tree | 10cb3c1cdaaa3f4af7335fee8626bc39c6442c9f /src/tmpfiles | |
parent | core: keep the kernel coredump defaults when systemd-coredump is disabled (diff) | |
parent | bash-completion: redirect introspection errors to null (diff) | |
download | systemd-6f8fa29465eb8e8223392920b3398f4ce08aa89e.tar.xz systemd-6f8fa29465eb8e8223392920b3398f4ce08aa89e.zip |
Merge pull request #8981 from keszybz/ratelimit-and-dbus
Ratelimit renaming and dbus error message fix
Diffstat (limited to 'src/tmpfiles')
-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 672405897b..9a9cfdd8a2 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1307,7 +1307,7 @@ static int item_do(Item *i, int fd, const struct stat *st, fdaction_t action) { r = action(i, fd, st); if (S_ISDIR(st->st_mode)) { - char procfs_path[strlen("/proc/self/fd/") + DECIMAL_STR_MAX(int)]; + char procfs_path[STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)]; _cleanup_closedir_ DIR *d = NULL; struct dirent *de; |