diff options
Diffstat (limited to 'sys/geom/part/g_part_bsd.c')
-rw-r--r-- | sys/geom/part/g_part_bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part_bsd.c b/sys/geom/part/g_part_bsd.c index 5a5eabd..eaa5394 100644 --- a/sys/geom/part/g_part_bsd.c +++ b/sys/geom/part/g_part_bsd.c @@ -141,7 +141,7 @@ bsd_parse_type(const char *type, uint8_t *fstype) return (0); } for (i = 0; - i < sizeof(bsd_alias_match) / sizeof(bsd_alias_match[0]); i++) { + i < nitems(bsd_alias_match); i++) { alias = g_part_alias_name(bsd_alias_match[i].alias); if (strcasecmp(type, alias) == 0) { *fstype = bsd_alias_match[i].type; |