dirent-util: use readdir_ensure_type() in readdir_no_dot() and FOREACH_DIRENT()
This commit is contained in:
@@ -482,7 +482,6 @@ static int boot_entries_find_unified(
|
||||
_cleanup_free_ char *j = NULL, *osrelease = NULL, *cmdline = NULL;
|
||||
_cleanup_close_ int fd = -1;
|
||||
|
||||
dirent_ensure_type(d, de);
|
||||
if (!dirent_is_file(de))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user