lib: Confine the copy_no_nl memcpy to debug_gpfs_log()
commitf2dbcea6f0499e81cf5b3215459925bb1dffd4a8
authorVolker Lendecke <vl@samba.org>
Tue, 19 Dec 2023 14:34:50 +0000 (19 15:34 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 4 Jan 2024 17:06:19 +0000 (4 17:06 +0000)
treeb4ce8919d408d4594cca48908a0938592aedd3c2
parentc3399cd46f7a33db516b5716a2ce0ebf50fd117a
lib: Confine the copy_no_nl memcpy to debug_gpfs_log()

gpfswrap_add_trace() seems not to have a format string that could
understand the %.*s notation.

While there this removes >4k of r/w memory from every smbd.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jan  4 17:06:19 UTC 2024 on atb-devel-224
lib/util/debug.c