summaryrefslogtreecommitdiff
path: root/src/include/os_fstream.i
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-08-15 22:30:53 -0400
committerMichael Cahill <michael.cahill@mongodb.com>2016-08-16 12:30:53 +1000
commit0e8a887c8c7281ab09c5c9d61a30defbdeb58bbf (patch)
treecbace0a3076eae4d88c1af1c7cd2c300319fb3da /src/include/os_fstream.i
parent8e3c4660dce3c4620aae65493241238d23e9a04a (diff)
downloadmongo-0e8a887c8c7281ab09c5c9d61a30defbdeb58bbf.tar.gz
WT-2822 panic mutex and other functions that cannot fail (#2952)
* The pthread mutex implementation of spinlocks lock/unlock functions didn't check the underlying pthread_mutex functions for failure. Panic if pthreads fails. * Change condition mutex functions to not return errors. * Change __wt_verbose() to not return errors. * Make a final panic check before writing anything.
Diffstat (limited to 'src/include/os_fstream.i')
-rw-r--r--src/include/os_fstream.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/os_fstream.i b/src/include/os_fstream.i
index 92274431011..a0ac4ef8b6a 100644
--- a/src/include/os_fstream.i
+++ b/src/include/os_fstream.i
@@ -49,8 +49,8 @@ static inline int
__wt_vfprintf(
WT_SESSION_IMPL *session, WT_FSTREAM *fstr, const char *fmt, va_list ap)
{
- WT_RET(__wt_verbose(
- session, WT_VERB_HANDLEOPS, "%s: handle-printf", fstr->name));
+ __wt_verbose(
+ session, WT_VERB_HANDLEOPS, "%s: handle-printf", fstr->name);
return (fstr->fstr_printf(session, fstr, fmt, ap));
}