mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
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:
parent
484b700751
commit
00ea8a5fc9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312164
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user