diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2015-12-20 02:36:30 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2015-12-20 02:36:30 +0000 |
commit | 9c7fedcad38e58635638da6d4b2d9b555942c4d9 (patch) | |
tree | a3c32af314880d670acbfe2ba4c5a026bd6655fb /share | |
parent | 54503a13d8711f183ffedbf6a994ae79108b791b (diff) | |
download | src-9c7fedcad38e58635638da6d4b2d9b555942c4d9.tar.gz src-9c7fedcad38e58635638da6d4b2d9b555942c4d9.zip |
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
Notes
Notes:
svn path=/head/; revision=292485
Diffstat (limited to 'share')
-rw-r--r-- | share/examples/tests/tests/atf/printf_test.c | 2 |
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 04a5665cdd89..719927cbccfe 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()); } |