summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/utilities/util_verbose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/utilities/util_verbose.c')
-rw-r--r--src/third_party/wiredtiger/src/utilities/util_verbose.c44
1 files changed, 20 insertions, 24 deletions
diff --git a/src/third_party/wiredtiger/src/utilities/util_verbose.c b/src/third_party/wiredtiger/src/utilities/util_verbose.c
index 253d0062189..04aaf29cf73 100644
--- a/src/third_party/wiredtiger/src/utilities/util_verbose.c
+++ b/src/third_party/wiredtiger/src/utilities/util_verbose.c
@@ -10,53 +10,49 @@
/*
* __handle_error_verbose --
- * Verbose WT_EVENT_HANDLER->handle_error implementation: send to stderr.
+ * Verbose WT_EVENT_HANDLER->handle_error implementation: send to stderr.
*/
static int
-__handle_error_verbose(WT_EVENT_HANDLER *handler,
- WT_SESSION *session, int error, const char *errmsg)
+__handle_error_verbose(
+ WT_EVENT_HANDLER *handler, WT_SESSION *session, int error, const char *errmsg)
{
- WT_UNUSED(handler);
- WT_UNUSED(session);
- WT_UNUSED(error);
+ WT_UNUSED(handler);
+ WT_UNUSED(session);
+ WT_UNUSED(error);
- return (fprintf(stderr, "%s\n", errmsg) < 0 ? EIO : 0);
+ return (fprintf(stderr, "%s\n", errmsg) < 0 ? EIO : 0);
}
/*
* __handle_message_verbose --
- * Verbose WT_EVENT_HANDLER->handle_message implementation: send to stdout.
+ * Verbose WT_EVENT_HANDLER->handle_message implementation: send to stdout.
*/
static int
-__handle_message_verbose(WT_EVENT_HANDLER *handler,
- WT_SESSION *session, const char *message)
+__handle_message_verbose(WT_EVENT_HANDLER *handler, WT_SESSION *session, const char *message)
{
- WT_UNUSED(handler);
- WT_UNUSED(session);
+ WT_UNUSED(handler);
+ WT_UNUSED(session);
- return (printf("%s\n", message) < 0 ? EIO : 0);
+ return (printf("%s\n", message) < 0 ? EIO : 0);
}
/*
* __handle_progress_verbose --
- * Default WT_EVENT_HANDLER->handle_progress implementation: ignore.
+ * Default WT_EVENT_HANDLER->handle_progress implementation: ignore.
*/
static int
-__handle_progress_verbose(WT_EVENT_HANDLER *handler,
- WT_SESSION *session, const char *operation, uint64_t progress)
+__handle_progress_verbose(
+ WT_EVENT_HANDLER *handler, WT_SESSION *session, const char *operation, uint64_t progress)
{
- WT_UNUSED(handler);
- WT_UNUSED(session);
+ WT_UNUSED(handler);
+ WT_UNUSED(session);
- return (
- printf("\r\t%s %-20" PRIu64, operation, progress) < 0 ? EIO : 0);
+ return (printf("\r\t%s %-20" PRIu64, operation, progress) < 0 ? EIO : 0);
}
static WT_EVENT_HANDLER __event_handler_verbose = {
- __handle_error_verbose,
- __handle_message_verbose,
- __handle_progress_verbose,
- NULL /* Close handler. */
+ __handle_error_verbose, __handle_message_verbose, __handle_progress_verbose,
+ NULL /* Close handler. */
};