diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-28 15:33:44 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-31 23:47:48 +0200 |
commit | 5d2a48da126e696dcd61baa75911d7f5fb2d076c (patch) | |
tree | bbc8aac0bd238dfd42fd29fc82d6e7e099ae976f /src/shared/bootspec.c | |
parent | oomd: drop unused key (diff) | |
download | systemd-5d2a48da126e696dcd61baa75911d7f5fb2d076c.tar.xz systemd-5d2a48da126e696dcd61baa75911d7f5fb2d076c.zip |
tree-wide: use _cleanup_set_free_ and friends
Instead of _cleanup_(set_freep) or so.
Diffstat (limited to 'src/shared/bootspec.c')
-rw-r--r-- | src/shared/bootspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c index a5ae2478fe..6459f5d2f8 100644 --- a/src/shared/bootspec.c +++ b/src/shared/bootspec.c @@ -854,7 +854,7 @@ static int boot_entries_find_unified( const char *root, const char *dir) { - _cleanup_(closedirp) DIR *d = NULL; + _cleanup_closedir_ DIR *d = NULL; _cleanup_free_ char *full = NULL; int r; |