]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: Correct error message
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 10 Aug 2023 04:16:12 +0000 (16:16 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Aug 2023 04:57:34 +0000 (04:57 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/hdb-samba4.c

index b6c7b2a4bba0f0e7a877307279748285d1a9c0d8..50c925e9512612128f13e47ec471a8e31806746c 100644 (file)
@@ -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;
        }