summaryrefslogtreecommitdiff
path: root/source4/dsdb/common
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-20 15:45:53 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-21 15:26:31 -0700
commitdd7f94a9e2bcab626b6c0d8eb498259ed132cc9b (patch)
tree90f48eb7e3eef40b186bc41bafee2e02b9cd41e7 /source4/dsdb/common
parent1afc7c453c1d5f7e761e46cdc69900305a149820 (diff)
downloadsamba-dd7f94a9e2bcab626b6c0d8eb498259ed132cc9b.tar.gz
samba-dd7f94a9e2bcab626b6c0d8eb498259ed132cc9b.tar.bz2
samba-dd7f94a9e2bcab626b6c0d8eb498259ed132cc9b.zip
s4-dsdb: fixed a printf format warning
Diffstat (limited to 'source4/dsdb/common')
-rw-r--r--source4/dsdb/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 1fe5979c69..126f9fa829 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -1454,7 +1454,7 @@ bool samdb_is_capable_dc(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
samdb_base_dn(ldb), "nTMixedDomain", NULL);
if (errmsg != NULL)
- *errmsg = talloc_asprintf(mem_ctx, "");
+ *errmsg = talloc_strdup(mem_ctx, "");
if (level_forest == -1 || level_domain == -1 || level_domain_mixed == -1) {
ret = false;