s3-talloc Change TALLOC_ARRAY() to talloc_array()
[amitay/samba.git] / source3 / utils / eventlogadm.c
index a157e91e5cc5ea190591a747b04553d45e5749c6..d170604a1bf6295e806a5a96107ee07d5ecb655a 100644 (file)
@@ -171,7 +171,7 @@ static bool eventlog_add_source( const char *eventlog, const char *sourcename,
 
        if ( !already_in ) {
                /* make a new list with an additional entry; copy values, add another */
-               wp = TALLOC_ARRAY(ctx, const char *, numsources + 2 );
+               wp = talloc_array(ctx, const char *, numsources + 2 );
 
                if ( !wp ) {
                        d_printf("talloc() failed \n");