From 5d2a48da126e696dcd61baa75911d7f5fb2d076c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 28 May 2023 22:33:44 +0900 Subject: tree-wide: use _cleanup_set_free_ and friends Instead of _cleanup_(set_freep) or so. --- src/shared/bootspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/bootspec.c') 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; -- cgit v1.2.3