summaryrefslogtreecommitdiffstats
path: root/src/bftw.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-24 12:47:12 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-24 12:48:05 -0400
commit3a72b93d26ad2bb06ea0b7d39257130084b1ee1e (patch)
treeb476e317185f9d26038007507dc4a1fbd7f5070b /src/bftw.h
parent98a026cf8b9d5da7730d5d4d1c88ba35d94771b2 (diff)
downloadbfs-3a72b93d26ad2bb06ea0b7d39257130084b1ee1e.tar.xz
printf: Refactor %y/%Y implementation
Diffstat (limited to 'src/bftw.h')
-rw-r--r--src/bftw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bftw.h b/src/bftw.h
index 2805361..8656ca7 100644
--- a/src/bftw.h
+++ b/src/bftw.h
@@ -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);