diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/data_blob.c | 2 | ||||
-rw-r--r-- | source3/lib/launchd.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/data_blob.c b/source3/lib/data_blob.c index c7eadc1acf..e07247bc49 100644 --- a/source3/lib/data_blob.c +++ b/source3/lib/data_blob.c @@ -72,7 +72,7 @@ DATA_BLOB data_blob_talloc(TALLOC_CTX *mem_ctx, const void *p, size_t length) if (p) { ret.data = (uint8 *)TALLOC_MEMDUP(mem_ctx, p, length); if (ret.data == NULL) - smb_panic("data_blob_talloc: talloc_memdup failed.\n"); + smb_panic("data_blob_talloc: TALLOC_MEMDUP failed.\n"); } else { ret.data = (uint8 *)TALLOC(mem_ctx, length); if (ret.data == NULL) diff --git a/source3/lib/launchd.c b/source3/lib/launchd.c index 1fd5a33db0..2c3f7cac89 100644 --- a/source3/lib/launchd.c +++ b/source3/lib/launchd.c @@ -138,7 +138,7 @@ static void pull_launch_sockets(launch_data_t key, count, launch_data_dict_get_count(item))); } - linfo->socket_list = talloc_array(NULL, int, count); + linfo->socket_list = TALLOC_ARRAY(NULL, int, count); if (linfo->socket_list == NULL) { goto done; } @@ -200,7 +200,7 @@ done: linfo->num_sockets)); count = linfo->num_sockets; - linfo->socket_list = talloc_array(NULL, int, count); + linfo->socket_list = TALLOC_ARRAY(NULL, int, count); if (linfo->socket_list == NULL) { goto done; } |