From 7d351f1aa007244ec7b730500018221f4a6c294b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 6 Sep 2021 10:14:17 +0300 Subject: MDEV-26533 fixup: GCC -Wformat --- sql/signal_handler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/signal_handler.cc') diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index eddcc632972..e5fda378f15 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -1,5 +1,5 @@ /* Copyright (c) 2011, 2012, Oracle and/or its affiliates. - Copyright (c) 2011, 2014, SkySQL Ab. + Copyright (c) 2011, 2021, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -183,7 +183,7 @@ extern "C" sig_handler handle_fatal_signal(int sig) max_used_connections); if (thread_scheduler) - my_safe_printf_stderr("max_threads=%u\n", + my_safe_printf_stderr("max_threads=%lu\n", thread_scheduler->max_threads + extra_max_connections); -- cgit v1.2.1