diff options
Diffstat (limited to 'toys/other/blkid.c')
-rw-r--r-- | toys/other/blkid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/blkid.c b/toys/other/blkid.c index b791fa62..38559981 100644 --- a/toys/other/blkid.c +++ b/toys/other/blkid.c @@ -80,7 +80,7 @@ static void do_blkid(int fd, char *name) if (len != sizeof(toybuf)) return; // Iterate through types in range - for (i=0; i < sizeof(fstypes)/sizeof(struct fstype); i++) { + for (i=0; i<ARRAY_LEN(fstypes); i++) { uint64_t test; // Skip tests not in this 4k block |