diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2018-08-27 16:43:00 +1200 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2018-11-01 23:49:24 +0100 |
commit | 4731c3382122eac2894fda764891c4903211592f (patch) | |
tree | 2cc4cea92b9381bbecb8950b81cc54078e6aca77 | |
parent | 775054afbe15129691c76f3b276ab4473cbc995b (diff) | |
download | samba-4731c3382122eac2894fda764891c4903211592f.tar.gz |
windbindd: reword error message
Reword the asprintf() out of memory message to make it clear where the
issue is.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index f3f8d547c7e..2e98c7634e8 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -241,7 +241,8 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain) if (!override_logfile) { if (asprintf(&lfile, "%s/log.winbindd-dc-connect", get_dyn_LOGFILEBASE()) == -1) { - DEBUG(0, ("fork_child_dc_connect: out of memory.\n")); + DBG_ERR("fork_child_dc_connect: " + "out of memory in asprintf().\n"); _exit(1); } } |