From 3d2dd6296d51f8ee21e5836aae39f7f4a38c0604 Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Wed, 6 May 2020 09:11:55 +1200 Subject: [PATCH] lib util asn1: modernize debug calls Replace DEBUG(0 with DBG_ERR( Signed-off-by: Gary Lockyer Reviewed-by: Volker Lendecke Autobuild-User(master): Gary Lockyer Autobuild-Date(master): Wed May 6 22:53:02 UTC 2020 on sn-devel-184 --- lib/util/asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/asn1.c b/lib/util/asn1.c index dc3f43f33f4..397f6b3c271 100644 --- a/lib/util/asn1.c +++ b/lib/util/asn1.c @@ -45,7 +45,7 @@ struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx, unsigned max_depth) { struct asn1_data *ret = talloc_zero(mem_ctx, struct asn1_data); if (ret == NULL) { - DEBUG(0,("asn1_init failed! out of memory\n")); + DBG_ERR("asn1_init failed! out of memory\n"); return ret; } ret->max_depth = max_depth; -- 2.47.3