From 0f127875c8f8d3bb3420c55a92646accbecc9e9b Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 10 Aug 2023 16:16:12 +1200 Subject: [PATCH] s4:kdc: Correct error message Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source4/kdc/hdb-samba4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index b6c7b2a4bba..50c925e9512 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -1119,7 +1119,7 @@ NTSTATUS hdb_samba4_create_kdc(struct samba_kdc_base_context *base_ctx, *db = talloc_zero(base_ctx, HDB); if (!*db) { - krb5_set_error_message(context, ENOMEM, "malloc: out of memory"); + krb5_set_error_message(context, ENOMEM, "talloc_zero: out of memory"); return NT_STATUS_NO_MEMORY; }