From 6d1eb1ce40801323b65401a70ae5f9782939eeb4 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sun, 3 Mar 2019 22:42:26 -0800 Subject: Consistently use ARRAY_LEN. --- toys/other/blkid.c | 2 +- toys/other/modinfo.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'toys/other') 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