summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-08-29 01:48:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:18 -0500
commitd17f87e2830844aaef14fffe60c5ae0dbc73c997 (patch)
treef7c486c5c6fc85082dbcbf5d5884a2894f6901bb
parent7b24eb65a0c4189796fc74319a400c6bfb85fdb7 (diff)
downloadsamba-d17f87e2830844aaef14fffe60c5ae0dbc73c997.tar.gz
samba-d17f87e2830844aaef14fffe60c5ae0dbc73c997.tar.bz2
samba-d17f87e2830844aaef14fffe60c5ae0dbc73c997.zip
r24762: Fix the build, missed TALLOC_SIZE -> talloc_named_const.
Jeremy. (This used to be commit e2d924248ef4c8158e80bfffa5d734b9723112ce)
-rw-r--r--source3/include/smb_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index c85e6e0ea0..fb3d394d0d 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -299,7 +299,7 @@ NULL returns on zero request. JRA.
#define TALLOC_ZERO(ctx, size) _talloc_zero(ctx, size, __location__)
#define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type)
#define TALLOC_ZERO_ARRAY(ctx, type, count) (type *)_talloc_zero_array(ctx, sizeof(type), count, #type)
-#define TALLOC_SIZE(ctx, size) talloc(ctx, size, __location__)
+#define TALLOC_SIZE(ctx, size) talloc_named_const(ctx, size, __location__)
#define TALLOC_ZERO_SIZE(ctx, size) _talloc_zero(ctx, size, __location__)
#endif