stat-util: generalize is_* and verify_* handling

This commit is contained in:
Mike Yuan
2024-03-04 19:53:51 +00:00
committed by Luca Boccassi
parent 2492c89af0
commit 2560dcbfe6
6 changed files with 133 additions and 134 deletions
+1 -1
View File
@@ -1573,7 +1573,7 @@ int verify_timezone(const char *name, int log_level) {
r = fd_verify_regular(fd);
if (r < 0)
return log_full_errno(log_level, r, "Timezone file '%s' is not a regular file: %m", t);
return log_full_errno(log_level, r, "Timezone file '%s' is not a regular file: %m", t);
r = loop_read_exact(fd, buf, 4, false);
if (r < 0)