From 355cbde8df75d429906e1e2f6e465b20222b4173 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 2 Jul 2006 22:04:29 +0000 Subject: 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) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/param') 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) { -- cgit