diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-24 12:47:12 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-24 12:48:05 -0400 |
commit | 3a72b93d26ad2bb06ea0b7d39257130084b1ee1e (patch) | |
tree | b476e317185f9d26038007507dc4a1fbd7f5070b /src/bftw.h | |
parent | 98a026cf8b9d5da7730d5d4d1c88ba35d94771b2 (diff) | |
download | bfs-3a72b93d26ad2bb06ea0b7d39257130084b1ee1e.tar.xz |
printf: Refactor %y/%Y implementation
Diffstat (limited to 'src/bftw.h')
-rw-r--r-- | src/bftw.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,7 @@ struct BFTW { /** The file type. */ enum bfs_type type; - /** The errno that occurred, if type == BFTW_ERROR. */ + /** The errno that occurred, if type == BFS_ERROR. */ int error; /** A parent file descriptor for the *at() family of calls. */ @@ -104,7 +104,7 @@ const struct bfs_stat *bftw_cached_stat(const struct BFTW *ftwbuf, enum bfs_stat * @param flags * flags for bfs_stat(). Pass ftwbuf->stat_flags for the default flags. * @return - * The type of the file, or BFTW_ERROR if an error occurred. + * The type of the file, or BFS_ERROR if an error occurred. */ enum bfs_type bftw_type(const struct BFTW *ftwbuf, enum bfs_stat_flags flags); |