summaryrefslogtreecommitdiffstats
path: root/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stat.h b/stat.h
index 369ac4a..a32967b 100644
--- a/stat.h
+++ b/stat.h
@@ -62,7 +62,7 @@ const char *bfs_stat_field_name(enum bfs_stat_field field);
/**
* bfs_stat() flags.
*/
-enum bfs_stat_flag {
+enum bfs_stat_flags {
/** Follow symlinks (the default). */
BFS_STAT_FOLLOW = 0,
/** Never follow symlinks. */
@@ -132,7 +132,7 @@ struct bfs_stat {
* @return
* 0 on success, -1 on error.
*/
-int bfs_stat(int at_fd, const char *at_path, enum bfs_stat_flag flags, struct bfs_stat *buf);
+int bfs_stat(int at_fd, const char *at_path, enum bfs_stat_flags flags, struct bfs_stat *buf);
/**
* Get a particular time field from a bfs_stat() buffer.