Fix -Wformat issue

Use %zu for printing out results from nitems, as it's size_t based

MFC after:	1 week
X-MFC with:	r312120
Reported by:	gcc (mips:mipsel tinderbox)
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-01-14 10:38:39 +00:00
parent 484b700751
commit 00ea8a5fc9

View File

@ -222,7 +222,7 @@ main(void)
return (0);
}
printf("1..%lu\n", nitems(test_users) + nitems(test_groups) +
printf("1..%zu\n", nitems(test_users) + nitems(test_groups) +
3 * nitems(test_strings) + 2);
test_libugidfw_strings();