From: Joseph Sutton Date: Thu, 6 Jul 2023 03:57:08 +0000 (+1200) Subject: s3:utils: Fix debug message formatting X-Git-Tag: tevent-0.16.0~1225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d6118e44122287cc737dd75d4aa0e359deb6786;p=thirdparty%2Fsamba.git s3:utils: Fix debug message formatting Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index a20d042ad58..a29db48ac47 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -6500,8 +6500,8 @@ static NTSTATUS rpc_trustdom_get_pdc(struct net_context *c, return NT_STATUS_OK; } - DEBUG(1,("NetServerEnum2 error: Couldn't find primary domain controller\ - for domain %s\n", domain_name)); + DEBUG(1,("NetServerEnum2 error: Couldn't find primary domain controller " + "for domain %s\n", domain_name)); /* Try netr_GetDcName */ @@ -6524,8 +6524,8 @@ static NTSTATUS rpc_trustdom_get_pdc(struct net_context *c, return status; } - DEBUG(1,("netr_GetDcName error: Couldn't find primary domain controller\ - for domain %s\n", domain_name)); + DEBUG(1,("netr_GetDcName error: Couldn't find primary domain controller " + "for domain %s\n", domain_name)); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c index 5c99dcf918a..34a9839048e 100644 --- a/source3/utils/smbget.c +++ b/source3/utils/smbget.c @@ -593,8 +593,8 @@ static bool smb_download_file(const char *base, const char *name, if (opt.blocksize > max_block_size) { if (opt.blocksize != SMB_DEFAULT_BLOCKSIZE) { fprintf(stderr, - "Warning: Overriding block size to %d \ - due to limit-rate", max_block_size); + "Warning: Overriding block size to %d " + "due to limit-rate", max_block_size); } opt.blocksize = max_block_size; }