diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-09-06 10:14:17 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-09-06 10:14:17 +0300 |
commit | 7d351f1aa007244ec7b730500018221f4a6c294b (patch) | |
tree | 842c2e0619c96a68d95872d2945a309b3c834a89 /sql/signal_handler.cc | |
parent | 1fda0544b9146ed608a59974c783ab1350b1dcfd (diff) | |
download | mariadb-git-7d351f1aa007244ec7b730500018221f4a6c294b.tar.gz |
MDEV-26533 fixup: GCC -Wformat
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |