From c7d71dd1255fe521d232a12bf8fa7a2460136b04 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Mon, 7 Aug 2023 16:35:35 +1200 Subject: [PATCH] s3:lib: Add missing newlines to logging messages Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source3/lib/adouble.c | 2 +- source3/lib/sysquotas.c | 2 +- source3/lib/util_ea.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c index 45a44dbbaf4..f0fb3c3be27 100644 --- a/source3/lib/adouble.c +++ b/source3/lib/adouble.c @@ -2707,7 +2707,7 @@ int ad_fset(struct vfs_handle_struct *handle, ad_getentryoff(ad, ADEID_RFORK), 0); if (len != ad_getentryoff(ad, ADEID_RFORK)) { - DBG_ERR("short write on %s: %zd", fsp_str_dbg(fsp), len); + DBG_ERR("short write on %s: %zd\n", fsp_str_dbg(fsp), len); return -1; } rc = 0; diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index 07d28d3a410..acd13d86d32 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -455,7 +455,7 @@ static int command_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t DBG_NOTICE("Running command " "%s %s %d %d " "%u %llu %llu " - "%llu %llu %llu ", + "%llu %llu %llu\n", set_quota_command, path, qtype, diff --git a/source3/lib/util_ea.c b/source3/lib/util_ea.c index 136291bec94..dd48e77e6f1 100644 --- a/source3/lib/util_ea.c +++ b/source3/lib/util_ea.c @@ -53,7 +53,7 @@ struct ea_list *read_ea_list_entry(TALLOC_CTX *ctx, const char *pdata, size_t da return NULL; } if (!pull_ascii_talloc(ctx, &eal->ea.name, pdata + 4, &converted_size)) { - DEBUG(0,("read_ea_list_entry: pull_ascii_talloc failed: %s", + DEBUG(0,("read_ea_list_entry: pull_ascii_talloc failed: %s\n", strerror(errno))); } if (!eal->ea.name) { -- 2.34.1