svn commit: r313219 - stable/10/tests/sys/mac/bsdextended
Ngie Cooper
ngie at FreeBSD.org
Sat Feb 4 16:31:25 UTC 2017
Author: ngie
Date: Sat Feb 4 16:31:24 2017
New Revision: 313219
URL: https://svnweb.freebsd.org/changeset/base/313219
Log:
MFC r312164:
Fix -Wformat issue
Use %zu for printing out results from nitems, as it's size_t based
Modified:
stable/10/tests/sys/mac/bsdextended/ugidfw_test.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/tests/sys/mac/bsdextended/ugidfw_test.c
==============================================================================
--- stable/10/tests/sys/mac/bsdextended/ugidfw_test.c Sat Feb 4 16:29:23 2017 (r313218)
+++ stable/10/tests/sys/mac/bsdextended/ugidfw_test.c Sat Feb 4 16:31:24 2017 (r313219)
@@ -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();
More information about the svn-src-stable
mailing list