1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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 commit is contained in:
Volker Lendecke 2006-07-02 22:04:29 +00:00 committed by Gerald (Jerry) Carter
parent 6fa928f96a
commit 03c665c307
2 changed files with 2 additions and 2 deletions

View File

@ -778,7 +778,7 @@ static NTSTATUS create_builtin_administrators( void )
}
/* add root */
if ( (ctx = talloc_init(NULL)) == NULL ) {
if ( (ctx = talloc_init("create_builtin_administrators")) == NULL ) {
return NT_STATUS_NO_MEMORY;
}
fstr_sprintf( root_name, "%s\\root", get_global_sam_name() );

View File

@ -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) {