svn commit: r313232 - stable/11/tests/sys/mac/bsdextended
Ngie Cooper
ngie at FreeBSD.org
Sat Feb 4 16:56:53 UTC 2017
Author: ngie
Date: Sat Feb 4 16:56:51 2017
New Revision: 313232
URL: https://svnweb.freebsd.org/changeset/base/313232
Log:
MFC r312164:
Fix -Wformat issue
Use %zu for printing out results from nitems, as it's size_t based
Modified:
stable/11/tests/sys/mac/bsdextended/ugidfw_test.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/tests/sys/mac/bsdextended/ugidfw_test.c
==============================================================================
--- stable/11/tests/sys/mac/bsdextended/ugidfw_test.c Sat Feb 4 16:55:46 2017 (r313231)
+++ stable/11/tests/sys/mac/bsdextended/ugidfw_test.c Sat Feb 4 16:56:51 2017 (r313232)
@@ -221,7 +221,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