diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2020-04-28 18:53:49 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2020-04-28 18:53:49 +0000 |
commit | 75a813087a5bba4504efe6695411715f6352a8a8 (patch) | |
tree | 18feb0cec3e233f26a3f4671a4eb8bdc6ad42ba4 /cddl/contrib/opensolaris/tools/ctf/cvt/util.c | |
parent | fe6da72759058b157fcab8520ce5fef153b84e9b (diff) | |
download | src-75a813087a5bba4504efe6695411715f6352a8a8.tar.gz src-75a813087a5bba4504efe6695411715f6352a8a8.zip |
Revert r360445
I did not intend to commit this yet as more work is needed for
non-amd64 kernels.
Notes
Notes:
svn path=/head/; revision=360448
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf/cvt/util.c')
-rw-r--r-- | cddl/contrib/opensolaris/tools/ctf/cvt/util.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/util.c b/cddl/contrib/opensolaris/tools/ctf/cvt/util.c index 87f677b7b81a..fb76cbaeb422 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/util.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/util.c @@ -148,7 +148,17 @@ terminate(const char *format, ...) if (getenv("CTF_ABORT_ON_TERMINATE") != NULL) abort(); +#if defined(__FreeBSD__) +/* + * For the time being just output the termination message, but don't + * return an exit status that would cause the build to fail. We need + * to get as much stuff built as possible before going back and + * figuring out what is wrong with certain files. + */ + exit(0); +#else exit(1); +#endif } /*PRINTFLIKE1*/ |