From: Joseph Sutton Date: Thu, 10 Aug 2023 04:16:12 +0000 (+1200) Subject: s4:kdc: Correct error message X-Git-Tag: tevent-0.16.0~998 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f127875c8f8d3bb3420c55a92646accbecc9e9b;p=thirdparty%2Fsamba.git s4:kdc: Correct error message Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- 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; }