summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-02 22:04:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:10 -0500
commit355cbde8df75d429906e1e2f6e465b20222b4173 (patch)
treec5ead5926018eb7f291ca1d421cc5e8d78c2a437 /source3/param
parentfe33a3829ac284915667401d7c83c45bca905558 (diff)
downloadsamba-355cbde8df75d429906e1e2f6e465b20222b4173.tar.gz
samba-355cbde8df75d429906e1e2f6e465b20222b4173.tar.bz2
samba-355cbde8df75d429906e1e2f6e465b20222b4173.zip
r16766: A warning found by RHEL3. This might actually be 3.0.23 code, maybe there are
vasprintf implementations that don't like a NULL format. Volker (This used to be commit 03c665c307e518c9ff66096904873266b145637c)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a3a41c7664..b6c027f871 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1670,7 +1670,7 @@ void lp_TALLOC_FREE(void)
TALLOC_CTX *tmp_talloc_ctx(void)
{
if (lp_talloc == NULL) {
- lp_talloc = talloc_init(NULL);
+ lp_talloc = talloc_init("tmp_talloc_ctx");
}
if (lp_talloc == NULL) {