s3:lib: Add missing newlines to logging messages
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 7 Aug 2023 04:35:35 +0000 (16:35 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:38 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/adouble.c
source3/lib/sysquotas.c
source3/lib/util_ea.c

index 45a44dbbaf400504770cca0810342bd557e09485..f0fb3c3be27b376c75f28db28733824cb5891f64 100644 (file)
@@ -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;
index 07d28d3a410a6d3b6b02a3e990c61a7a15106553..acd13d86d324a85e1e34361d3b1a254285e99457 100644 (file)
@@ -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,
index 136291bec9491bef296ec97c64cfeb16dfb5a4ba..dd48e77e6f13312d141d1887b18a86a3cba5e874 100644 (file)
@@ -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) {