stat-util: also add stat_verify_char() and use it everywhere

This commit is contained in:
Lennart Poettering
2026-04-13 13:20:43 +02:00
parent 4eb60e3160
commit aa0da09127
5 changed files with 32 additions and 9 deletions
+2
View File
@@ -31,6 +31,8 @@ int fd_verify_linked(int fd);
int stat_verify_block(const struct stat *st);
int fd_verify_block(int fd);
int stat_verify_char(const struct stat *st);
int stat_verify_device_node(const struct stat *st);
int is_device_node(const char *path);