diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-04-04 09:33:21 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-04-16 12:09:16 -0400 |
commit | 8f5a73a6585bd425807430fd80ce1e3a737f4c5f (patch) | |
tree | fde0928db3d0f30b2d156ded10383eee2a9b3b91 /mtab.c | |
parent | 7241d6cc35134fcb5ec6dfa81bbd01e430b2415f (diff) | |
download | bfs-8f5a73a6585bd425807430fd80ce1e3a737f4c5f.tar.xz |
style: Use &array[i] rather than array + i
Diffstat (limited to 'mtab.c')
-rw-r--r-- | mtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ fail: static void bfs_mtab_fill_types(struct bfs_mtab *mtab) { for (size_t i = 0; i < darray_length(mtab->entries); ++i) { - struct bfs_mtab_entry *entry = mtab->entries + i; + struct bfs_mtab_entry *entry = &mtab->entries[i]; struct bfs_stat sb; if (bfs_stat(AT_FDCWD, entry->path, BFS_STAT_NOFOLLOW | BFS_STAT_NOSYNC, &sb) != 0) { |