Index: head/usr.sbin/boot0cfg/boot0cfg.c =================================================================== --- head/usr.sbin/boot0cfg/boot0cfg.c +++ head/usr.sbin/boot0cfg/boot0cfg.c @@ -88,7 +88,7 @@ {"update", 1}, {"setdrv", 0} }; -static const int nopt = sizeof(opttbl) / sizeof(opttbl[0]); +static const int nopt = nitems(opttbl); static const char fmt0[] = "# flag start chs type" " end chs offset size\n";