summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-20 02:36:30 +0000
committerngie <ngie@FreeBSD.org>2015-12-20 02:36:30 +0000
commit45b8ebe617aeaaff35f2be3382733bd86067fa69 (patch)
treea3c32af314880d670acbfe2ba4c5a026bd6655fb /share/examples
parent94d8d1452b2e808b715bab0a09be680cecdcb2a3 (diff)
downloadFreeBSD-src-45b8ebe617aeaaff35f2be3382733bd86067fa69.zip
FreeBSD-src-45b8ebe617aeaaff35f2be3382733bd86067fa69.tar.gz
Add missing return statement to atf/printf_test to make the example
complete and correct, and mute a compiler warning from clang MFC after: 3 days Reported by: Jenkins Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/tests/tests/atf/printf_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/examples/tests/tests/atf/printf_test.c b/share/examples/tests/tests/atf/printf_test.c
index 04a5665..719927c 100644
--- a/share/examples/tests/tests/atf/printf_test.c
+++ b/share/examples/tests/tests/atf/printf_test.c
@@ -152,4 +152,6 @@ ATF_TP_ADD_TCS(tp)
ATF_TP_ADD_TC(tp, snprintf__two_formatters);
ATF_TP_ADD_TC(tp, snprintf__overflow);
ATF_TP_ADD_TC(tp, fprintf__simple_string);
+
+ return (atf_no_error());
}
OpenPOWER on IntegriCloud